PDA

View Full Version : Debug installscript deferred custom actions



apierini
10-17-2012, 11:32 AM
Hello,

I've read many posts about debugging installscript deferred custom actions with previous versions of Installshield, but I cannot do it with Installshield 2012 Spring Premier.

I have a dedicated Windows 7 x86 machine, user Administrator, UAC disabled; added inside registry key HKEY_LOCAL_MACHINE\SOFTWARE\InstallShield\ISEngine19.0 DebugISCustomActions DWORD value 1 and DebugPath String value with the path of my setup.dbg (Installscript MSI project).
When I hit F5 inside Installshield, the setup starts, the debugger is launched for each immediate custom action but not launched for the deferred custom actions.

It is almost impossibile to develop without debugger ... is there anyone who was able to solve this problem? Any suggestion?

Thanks in advance,
Andrea

DebbieL
10-18-2012, 07:59 AM
I believe that the registry key is supposed to be written to HKEY_CURRENT_USER, not HKEY_LOCAL_MACHINE.

apierini
10-18-2012, 10:50 AM
Thanks, I've made a mistake and with HKEY_CURRENT_USER it works.

Andrea