cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Safanasyev
Level 2

The variable ALLUSERSPROFILE don't changes depend on OS

In my InstallScript MSI project I create a shortcut "CheckForUpdate" with Target "[ALLUSERSPROFILE]FlexNet\Connect\11\agent.exe". When I install my package on Windows7, the shortcut Target property becomes "C:\ProgramData\FLEXnet\Connect\11\agent.exe" and this is correct path. But when I install my package on Windows XP target machine, variable [ALLUSERSPROFILE] is the same ("C:\ProgramData\") and shortcut doesn't work. When ALLUSERSPROFILE initialize - when I build my install package or when end user install package on machine? How can I resolve this problem? I build my InstallScript MSI project on Windows7 OS.
Labels (1)
0 Kudos

(1) Reply
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

The ALLUSERSPROFILE property is typically set to the value of the ALLUSERSPROFILE environment variable on a target machine (assuming the custom action that sets this hasn't been changed). What is the value of the ALLUSERSPROFILE environment variable on the machine(s) that are encountering this issue?
0 Kudos