This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- The variable ALLUSERSPROFILE don't changes depend on OS
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Mar 05, 2011
08:11 AM
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.
(1) Reply
Mar 08, 2011
03:21 PM
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?