a.guelle
Posts: 97
Joined: Tue May 19, 2015 2:23 pm

[solved] VBS Debugger: Cannot find msiexec.exe in runnnig documents

Hi,

I tried to install the VBscript debugger following your tutorial:
http://www.advancedinstaller.com/user-g ... bs-ca.html

But i cannot find the msiexec.exe process in the running documents.

I also realized that the debugger from http://www.microsoft.com/en-us/download ... x?id=22185 installs under "Program Files(x86)" as 32-bit program. I stumbled upon the following article https://support.microsoft.com/en-us/kb/284973. The downloadable reg files specify the debugger path in "Program Files" so there might exist a 64-bit version of the debugger. No idea if the 32-bit version might be the probem in my case...

Any ideas?
Attachments
Debugger.PNG
Debugger.PNG (13.07 KiB) Viewed 3116 times
Last edited by a.guelle on Wed Jun 24, 2015 9:12 am, edited 1 time in total.
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: VBS Debugger: Cannot find msiexec.exe in runnnig documents

Hello,

I've tested the Microsoft Script Debugger tool on a Windows x64 machine by using both, a 32-bit and a 64-bit package type, and the "msiexec.exe" process was always detected by the debugger. Can you please make sure you carefully follow our article steps? Have you set the "HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings\JITDebug" registry value to "1"? If not, please do so and try again the debugging.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
a.guelle
Posts: 97
Joined: Tue May 19, 2015 2:23 pm

Re: VBS Debugger: Cannot find msiexec.exe in runnnig documents

Hi Daniel,

that was the solution. In fact I thought that the following text was not related to VBS inline scripts. At least I should just have tried it... my fault.
Additionally, if you are trying to debug a .wsf file, make sure that the following registry key is set to 1:
HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings\JITDebug
Thank you,

Angelo
Daniel
Posts: 8238
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: VBS Debugger: Cannot find msiexec.exe in runnnig documents

You're always welcome Angelo.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”