- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Jun 26, 2009
04:16 PM
Silent Install with Modify
Is it possible to do a silent install and modify using only one setup.iss file or do I have to have separate .iss files for each case?
2 Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Jun 26, 2009
05:40 PM
I believe you'll need a separate .iss file for each sequence of dialog boxes.
- Mark as New
- Subscribe
- Mute
- Permalink
- Email to a Friend
- Report Inappropriate Content
Jul 22, 2009
09:23 AM
I have created a single .iss file that works for both a clean install or a repair, or a modify (if you know which item needs to be selected or deselected in the modify).
Before doing this I put code in my setup to write a 'comment' line into the .iss for each dialog, to make it easier for me to analyze the .iss file.
Create the .iss file for a clean install.
Then create the .iss file for a repair or modify.
Then evaluate the two files using a text editor and create a third .iss file using the text editor starting with the clean install .iss and adding in the entries from the 'modify' that are unique.
If in the two files you have the same dialog header with different responses then you cannot use a single .iss file, unless you first go customize one of the dialogs in the setup and give it a unique ID. Once you do that you can create a single .iss file that will work for either a clean install, repair, modify, or even uninstall.
Before doing this I put code in my setup to write a 'comment' line into the .iss for each dialog, to make it easier for me to analyze the .iss file.
Create the .iss file for a clean install.
Then create the .iss file for a repair or modify.
Then evaluate the two files using a text editor and create a third .iss file using the text editor starting with the clean install .iss and adding in the entries from the 'modify' that are unique.
If in the two files you have the same dialog header with different responses then you cannot use a single .iss file, unless you first go customize one of the dialogs in the setup and give it a unique ID. Once you do that you can create a single .iss file that will work for either a clean install, repair, modify, or even uninstall.
