cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
mdavies
Level 3

User environment not loaded in silent mode

Most of the time enough digging and debugging works for me but this time I am stumped.

I have a basic MSI installer that has a custom action that invokes some InstallScript. The InstallScript executes a system command using LaunchApplication. That system command executes an application that is expected to be in the user environment's PATH variable.

In verbose mode this works great. However, in any of the silent modes the command fails because it appears the user's environment is not being loaded. If I move the user's PATH variable to the system it all works fine.

So, does anybody know why this might be happening? Does silent mode just not load the user's environment? Is there a default custom action that loads user environments that maybe isn't getting executed properly in silent install? What dictates the environment or PATH that the installer loads?

Any sort of help would be greatly appreciated (by me and our customers 🙂 )
Labels (1)
0 Kudos
(1) Reply
mdavies
Level 3

Can anybody help me with this one?
0 Kudos