ChristianB
12-16-2010, 08:18 AM
Hi,
we have a setup that, if started with a path as argument to the OurSetup.exe, should set the Upgrade radiobutton as the default choice instead of New.
First I tried to set the %_SB_SetuptypeID% based on controlling the argument by using the Get System Info(CommandLine) - function. This doesn't work since it looks like this ID is automatically set to "New" when entering the "acceptloop". By making my own "Select Setup Type - dialog" containing two radiobuttons I finally managed to do what I wanted.
But, the standard dialog for this sure looks greater and I would definitely want to use this instead if possible. Another issue is that the summary on the last page of the wizard now doesn't say if the user runs New or Update.
So, is there any way of controlling the SetupTypeID? Any help is very appreciated! :)
we have a setup that, if started with a path as argument to the OurSetup.exe, should set the Upgrade radiobutton as the default choice instead of New.
First I tried to set the %_SB_SetuptypeID% based on controlling the argument by using the Get System Info(CommandLine) - function. This doesn't work since it looks like this ID is automatically set to "New" when entering the "acceptloop". By making my own "Select Setup Type - dialog" containing two radiobuttons I finally managed to do what I wanted.
But, the standard dialog for this sure looks greater and I would definitely want to use this instead if possible. Another issue is that the summary on the last page of the wizard now doesn't say if the user runs New or Update.
So, is there any way of controlling the SetupTypeID? Any help is very appreciated! :)