I have two components in my installer. Is that possible to change their installation path between two fixed option in the MUI?
1. option - $DOCUMENTS
2. option - c:\Users\Public\.. (I don't know the variable's name)
Change component's installation path
2 posts
yes
For the first section, use:
SetShellVarContext current
<write files to $DOCUMENTS here>
For the second section, use:
SetShellVarContext all
<write files to $DOCUMENTS here>
Make sure you set 'SetShellVarContext' back to what it was after the section is finished, in case you're extracting further files where the shell context matters.
For the first section, use:
SetShellVarContext current
<write files to $DOCUMENTS here>
For the second section, use:
SetShellVarContext all
<write files to $DOCUMENTS here>
Make sure you set 'SetShellVarContext' back to what it was after the section is finished, in case you're extracting further files where the shell context matters.