andrelernhart
06-01-2014, 09:58 AM
Hi all,
My Installer (SB, of corz!) installs only an .exe (=feature1) and the same .exe with some DB and .chm files (=feature2). The feature/setup type is stored in the Registry.
A second Script applies updates and patches to the former installation.
To avoid stupidities by DAU's (German: Dümmste Anzutreffende Users --> Most stupid users), I do not want to let the users select the type of actualization, but fetching the formerly chosen feature/setuptype from the Registry and setting the corresponding values to _SB_SETUPTYPEID and _SB_FEATURESID.
Yes, I know that there is a warning not to do so, but I want to make this work somehow (any other approach is highly appreciated!).
I checked the correct settings for these two variables (values taken from the initial installation script), but it seems that the manually setted values are ignored, no matter where I set them (e.g. directly preceeding the [ Install Files ] section).
Any hint or workaround is highly appreciated!
Thanks in advance, regards, André
(SB 8.1 Developer Edition. Windows 7)
My Installer (SB, of corz!) installs only an .exe (=feature1) and the same .exe with some DB and .chm files (=feature2). The feature/setup type is stored in the Registry.
A second Script applies updates and patches to the former installation.
To avoid stupidities by DAU's (German: Dümmste Anzutreffende Users --> Most stupid users), I do not want to let the users select the type of actualization, but fetching the formerly chosen feature/setuptype from the Registry and setting the corresponding values to _SB_SETUPTYPEID and _SB_FEATURESID.
Yes, I know that there is a warning not to do so, but I want to make this work somehow (any other approach is highly appreciated!).
I checked the correct settings for these two variables (values taken from the initial installation script), but it seems that the manually setted values are ignored, no matter where I set them (e.g. directly preceeding the [ Install Files ] section).
Any hint or workaround is highly appreciated!
Thanks in advance, regards, André
(SB 8.1 Developer Edition. Windows 7)