msiexec elevated directory help

Feb 9, 2013
Reaction score

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?


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question