/build/static/layout/Breadcrumb_cap_w.png

msiexec with a system variable in the path to msi file?

Normally I would install an MSI something like this:

msiexec.exe /i \\server\volume\path\something.msi

But let's say the \\server\volume changes based upon location?

So I set a system variable on the XP workstation for something like:
INSTALLABC=\\server\volume

But it seems you can't then do:

msiexec.exe /i INSTALLABC\path\something.msi

I'm sure I'm doing something wrong.

Do I need to reference the variable differently somehow?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: AngelD 14 years ago
Red Belt
0
Below should be correct
msiexec.exe /i %INSTALLABC%\path\something.msi

however; I would point to a DFS share instead.
Posted by: wonde 14 years ago
Yellow Belt
0
Is a better way.

You install the msi local and add your DFS-Share to msi sourcelist.

commadline:
msiexec /i "c:\temp\abc.msi" SOURCELIST="\\abc\abc"
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ