I have an installer built and I need to implement an option for 'just me' vs. 'everyone'. Since this is an addin to another software that I don't control I need a little different requirements. I need to not change the program files location but change from using 'Common Application Data' to 'Application Data' conditionally. Basically the only modification I want to make is if the user selects 'just me' that the files under common appdata would go to the same path under appdata. I didn't see a direct way to do this with the predefined folders so I created an install parameter named "ADDINFOLDER" that holds the folder location for the everyone option. Then I put an event on the InstallTypeDlg that changes it to the appdata location if only me is selected (or it's supposed to anyway). It is changing the path for the installed files, but it changes it every time like it's not respecting the condition. The event values are as follows (note that the path in the argument is temporary for testing, I will update it when i get this figured out).
Property: ADDINFOLDER
Argument: C:\WithChange
Condition: AI_INSTALL AND (ALLUSERS)
Note that I have also tried AI_InstallPerUser in place of ALLUSERS with no success, it still changes it every time and is always installed to C:\WithChange.
Help...
FOLLOW US
Get the latest news in Application Packaging