Scripting Question

User Environmental variable

11/21/2017 903 views
In Vendor msi user environmental variable is their.I installing my application in system context but user environnmental varaible is not geeting.
Same vendor msi when installing in user context ,user environmental  is getting.
In system context how to get user environmetal variable into the mcahine is their anyway in msi only.
0 Comments   [ + ] Show comments


All Answers

I would normally advise you to implement self-healing but given the level you're evidently at, that's a big step so the simplest route is to just change it to a System variable. If the MSI uses the Environment table to populate the environment, prefix the value with '*'. If it uses the Registry table, change the root (hive) from '1' to '2'. 

Use a transform, obviously.
Answered 11/22/2017 by: VBScab
Red Belt

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