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: Custom Action and conditions
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
‎Nov 21, 2008
05:52 AM
Custom Action and conditions
Hi everyone,
I'm back at InstallShield after many years, so my knowledge is a bit rusty.
In a project, I've created a custom action in VBScript to enable the display of ASP pages in IIS >= 6. This works fine.
However, when executed on WinXP (with IIS = 5), the script fails - no surprise.
So I added the following condition to the custom action: 'IIS_VERSION >= 6'; but it doesn't work - as soon as I specify anything in the condition field, the script stops executing, no matter the condition.
What am I missing here?
Regards,
Lars
I'm back at InstallShield after many years, so my knowledge is a bit rusty.
In a project, I've created a custom action in VBScript to enable the display of ASP pages in IIS >= 6. This works fine.
However, when executed on WinXP (with IIS = 5), the script fails - no surprise.
So I added the following condition to the custom action: 'IIS_VERSION >= 6'; but it doesn't work - as soon as I specify anything in the condition field, the script stops executing, no matter the condition.
What am I missing here?
Regards,
Lars
(3) Replies
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 21, 2008
02:38 PM
Have you validated the value of IIS_VERSION through the use of a log file?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 22, 2008
08:56 AM
No - but I've validated it using a messagebox.;)
Regards,
Lars
Regards,
Lars
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 24, 2008
01:09 PM
You should probably review a log file instead to get an idea of the path of that property. It's possible that something is changing or that your script is actually launching but could be crashing.