I am new to setup factory and am trying to figure out how to do conditional installation of product parts. What I want to do is have a program I write be shelled out by SF and return a status or set a registry entry and then based on this status do or don't do parts of the setup. This must happen during the install process as the program will determine how to proceed based on what it finds. I don't see a good way to do this... can anyone point me in the correct direction ?
Announcement
Collapse
No announcement yet.
runtime conditional processing
Collapse
This topic is closed.
X
X
-
Re: runtime conditional processing
You cannot launch a program that is archived inside of an installation without installing it. What you can do is create two installations(two installation executables). Let's call one mainsetup.exe and the other one wrappersetup.exe.
Mainsetup.exe will contain all the files that you would like to install.
Wrappersetup.exe will contain your program as well as mainsetup.exe.
You will then run your program, get the information that you need and then run the mainsetup.exe installation to install everything else.
I don't know how your program works, but you might want to store what it finds in an INI file and read this INI file from mainsetup.exe.
I hope this helps
------------------
Sincerely,
Darryl Hnatiuk
Indigo Rose Corporation
Comment