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: How do I use the installscript debugger ?
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
‎Sep 24, 2009
09:10 AM
How do I use the installscript debugger ?
I've written some InstallScript that I'm trying to run as a custom action. When the installer tries to run it it throws a generic -1603 error. In the msi logfile all I see is a line saying it's calling my function, then nothing else related to it. I want to run it in the debugger, but I can't figure out how to do that. If I click on Build->Debug it runs my installer but never enters the debugger.
Clearly I'm missing something, but I can't for the life of me figure out what it is.
Clearly I'm missing something, but I can't for the life of me figure out what it is.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 24, 2009
02:12 PM
Well I finally was able to get it to run by changing my custom action to Immediate execution instead of deferred. Fortunately for what I was doing that was fine. Is it not possible to debug deferred execution items ? Is this mentioned in the docs anywhere ? I've read a ton of the help files and never saw this restriction mentioned.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 24, 2009
08:55 PM
You should be able to debug deferred InstallScript custom actions by adding the following registry key to the machine you're debugging on:
HKEY_CURRENT_USER\Software\InstallShield\ISEngine16.0
Add a new DWORD value to this key named DebugISCustomActions and set its data to 1. Then try debugging again.
Note that except for the updated version information, the above is covered in KB Q112187.
HKEY_CURRENT_USER\Software\InstallShield\ISEngine16.0
Add a new DWORD value to this key named DebugISCustomActions and set its data to 1. Then try debugging again.
Note that except for the updated version information, the above is covered in KB Q112187.