msiexec elevated directory help

Joined
Feb 9, 2013
Messages
1
Reaction score
0
Hello,

I'm trying to do an unattended install from a USB stick. If i specify the FULL msi file location e.g. G:\files\install.msi everything works fine. I have to use the full directory because if I don't it won't work because it's running as elevated, so its at C:\Windows\System32. This is a pain in the ass because id rather it retained the current directory i ran the file from because that way i don't have to use full file location.

My usb stick has a different letter in different pc, so can anyone help me to change the directory to whatever the file was ran from?

Thanks
 
Top