I have following situation :
I have basic files (dlls and exes) in my Windows Installer 1.52 which creates a setup file to install (call it as MYAPPLICATION1). Now we have developed our software further and added few more dlls and exes which uses the basic files from the first application, and creates another two applications. This means add few files to the MYAPPLICATION1 and it will become MYAPPLICATION2 or add some another files to MYAPPLICATION1 and it will become MYAPPLICATION3. So, now as these are additional files to the MYAPPLICATION1 I dont want to create three different setups. We want it tobe on the one CD itself and I want to create setup something like :
1. It will prompt user to select the application to install (by default MYAPPLICATION1will get installed). If he choses MYAPPLICATION2 or MYAPPLICATION3 then respective files will be installed. (this I can do by setting componet's install level depending upon the user's requirement by creating new dialog box).
2. Whenever user wants he should be able to add / remove files for MYAPPLICATION2 or MYAPPLICATION3. That means say user has installed only MYAPPLICATION1 initially and now he wants MYAPPLICATION2, he should be able to add files by inserting CD and add those files. Now when he enters the CD uninstallation of the MYAPPLICATION1 starts. I want him to show once again the options dialog box (new created by me).
That means the installation should work like Internet Explorer installation CD. Whenever you put CD in to CD-drive it should check softwares installed on the PC and depending upon that it shows users what is not installed and what is installed on his PC.
3. If after installing MYAPPLICATION2 if he wants to remove MYAPPLICATION2 then he should be able to remove it, but MYAPPLICATION1 should work after that. As in Add/remove in control panel shows the name of MYAPPLICATION1 only it removes the whole software. I want to show MYAPPLICATION2 and MYAPPLICATION3 seperate than MYAPPLICATION1 in control panel eventhough it is only one setup file.
I hope I am not confusing you all. Please help me in this. How can I do this ?