This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: When does the INI file changes trigger?What is the sequence?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 09, 2017
09:19 AM
When does the INI file changes trigger?What is the sequence?
Hello friends,
In my installer, i am creating a Web url shortcut using the INI file changes technique. https://localhost
This shows that the URL shortcut creation via INI file changes takes place before the [IISHOSTNAME] property gets updated to "WIN161"
So i want to know, is there any way i can create the url shortcut with the updated value of [IISHOSTNAME]? Can i sequence the INI file changes to the end of the installation so that the shortcut creation takes place in the end with the updated value.
Please suggest.
Thanks
In my installer, i am creating a Web url shortcut using the INI file changes technique. https://localhost
This shows that the URL shortcut creation via INI file changes takes place before the [IISHOSTNAME] property gets updated to "WIN161"
So i want to know, is there any way i can create the url shortcut with the updated value of [IISHOSTNAME]? Can i sequence the INI file changes to the end of the installation so that the shortcut creation takes place in the end with the updated value.
Please suggest.
Thanks
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 12, 2017
11:46 AM
dinesh_redhawk wrote:
Hello friends,
In my installer, i am creating a Web url shortcut using the INI file changes technique. https://localhost
This shows that the URL shortcut creation via INI file changes takes place before the [IISHOSTNAME] property gets updated to "WIN161"
So i want to know, is there any way i can create the url shortcut with the updated value of [IISHOSTNAME]? Can i sequence the INI file changes to the end of the installation so that the shortcut creation takes place in the end with the updated value.
Please suggest.
Thanks
SOLUTION:
The INI file change sequence is when WriteIniFile custom action gets executed. You can find it in execute sequence . Dont change the sequence of default events as it will break somewhere else then.
Instead, try to move your own custom action according to the sequence. I moved mine to after InstallWelcome sequence and achieved my requirement.