Hello!
How I can call development environment from custom action VBScript code?
Article below explain a propblem with STOP statement.
http://support.micro...kb;en-us;252895
Neither fixed JITDebug key in registry, or not I can't call debugger with STOP statement.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Debugging CA type 6
Started by
AntonS
, Oct 05 2004 15:42
5 replies to this topic
Posted 05 October 2004 - 17:52
Have you tried "Debugging Custom Actions" at http://www.installsi...s/en/msi/ca.htm
Stefan Krüger
InstallSite.org twitter facebook
Posted 06 October 2004 - 09:41
Second sentence of article "Debugging Custom Actions", provided with WMI SDK state, that the techniques described in this section only for DLL CA.
It is not possible to use dynamic debugging with custom actions based on Executable Files or Scripts (like Custom Action type 6).
How is it actually?
"Debugging Custom Actions" from www.installsite.org explain additionally MsiBreak environment variable and Debugging Support in IPWI 2.x.
I suppose both of additional methods mean attach to process with Visual Studio C++.
Therefore, Script Custom Actions (like type 6) impossible to debug at runtime?
It is not possible to use dynamic debugging with custom actions based on Executable Files or Scripts (like Custom Action type 6).
How is it actually?
"Debugging Custom Actions" from www.installsite.org explain additionally MsiBreak environment variable and Debugging Support in IPWI 2.x.
I suppose both of additional methods mean attach to process with Visual Studio C++.
Therefore, Script Custom Actions (like type 6) impossible to debug at runtime?
Posted 07 October 2004 - 17:37
I believe this is one of the disadvantages of VBScript custom actions - you can't really debug them. Use MsgBox and logging instead
Stefan Krüger
InstallSite.org twitter facebook
Posted 08 October 2004 - 11:25
Try using the Microsoft Script Debugger, and show a messagebox in the CA. MSD is the same debugger you use to debug ASPs.
Note that whether MSD can debug Windows Installer scripts depends on the way Windows Installer runs scripts. (I have no experience with this, just know how to extend software with Active Scripting...)
Note that whether MSD can debug Windows Installer scripts depends on the way Windows Installer runs scripts. (I have no experience with this, just know how to extend software with Active Scripting...)
Posted 11 October 2004 - 06:44
But Microsoft Script Debugger can't be attached to MSIEXEC process?
Thereby I can debug with MSD script, used in CA only, separately from installation process.
Thereby I can debug with MSD script, used in CA only, separately from installation process.