Hello,
In my scenario i'm doing a per machine if admin or per user install and I've added the install type dialog. My issue concerns creating a 2nd custom folder path dialog. All the paths set in the install dialogs need to be passed along to a 3rd party installer which is set as a pre-req and runs silently. The 3rd party installer needs to be run with the below commands depending on if the install type is set to 'Everybody' or 'Only for me'.
Scenario A (Everybody)
/S /AllUsers "/USERNAME=[USER_PROFILE]" /D=[APPDIR]
Scenario B (Only for me)
/S "/USERNAME=[USER_PROFILE]" /D=[APPDIR]
Additionally in scenario A the [USER_PROFILE] needs to be set to the C:\users\public\documents. In Scenario B it needs to be set to %USERPROFILE%\Documents. The purpose of the /AllUsers command in scenario A is required by the 3rd party installer to place shortcut icons it creates in the C:\ProgramData\Microsoft\Windows\Start Menu\Programs and shortcuts on the desktop in the c:\users\public\desktop