Error with WshShell.Run under W2K8 R2

VBS to EXE and JScript to EXE Compiler
Post Reply
cal77
Posts: 2
Joined: Sun Nov 08, 2009 12:02 am

Error with WshShell.Run under W2K8 R2

Post by cal77 » Sun Nov 08, 2009 12:05 am

Hi,

I've got a problem with a compiled script under Windows Server 2008 R2 (64-bit). Perhaps it's a general problem with 64-bit installations and not only in this particular OS (I just tested it with W2K8 32-bit without R2 before of the actual problem)...:

Everything is working fine, if I execute the script as a VBS-file and all the commands are going through. After compilation, everything which ist working with the "WshShell.Run" command isn't executing anymore. The script ist still working further and it's finalizing it's work - but without these lines of code... If I use the same executable on a W2K8 32-bit, everything is working fine as well...

Do you have any idea, what the problem could be and how I can solve it?

Thanks a lot for your reply!

Regards,
Andre

support
Site Admin
Posts: 404
Joined: Fri Feb 13, 2004 1:05 pm

Post by support » Fri Nov 20, 2009 11:00 pm

This is common issues for any 32-bit application on 64-bit Windows. The one and only solution - waiting for 64-bit version of ScriptCryptor.

twomble
Posts: 3
Joined: Wed Dec 16, 2009 12:46 pm

Post by twomble » Wed Dec 16, 2009 2:56 pm

Is a 64 bit version of ScriptCryptor planed for release? Cal77, did you find a work-around for this problem? I'm working on a script that will be used in both 32 and 64 bit Windows and I use the WshShell.Run a lot in the code.

twomble
Posts: 3
Joined: Wed Dec 16, 2009 12:46 pm

Post by twomble » Wed Dec 16, 2009 5:43 pm

Update... I've just installed Windows 7 64 bit and I do not have this problem. Howerver, I do have a different problem. I'm not able to read or write to the registry on a 64 bit install of Windows 7. The error message I get when using objShell.RegRead is:

Error: Invalid root in registry key

If I run the code as a vbscript, it works fine. Any ideas? I've tried to read and write to the registry using WMI and with objShell.RegRead. Both ways have problems.

support
Site Admin
Posts: 404
Joined: Fri Feb 13, 2004 1:05 pm

Post by support » Wed Dec 16, 2009 7:21 pm

Read at MSDN about registry redirection and WOW64: http://support.microsoft.com/kb/896459

twomble
Posts: 3
Joined: Wed Dec 16, 2009 12:46 pm

Post by twomble » Wed Dec 16, 2009 8:57 pm

Wow! Thank you very much! This has solved my problem. You guys rock! :D

cal77
Posts: 2
Joined: Sun Nov 08, 2009 12:02 am

Post by cal77 » Sat Feb 13, 2010 12:56 am

btw: I just packed all the executables I need to run with the shell into the same path as the compiled VBScript-EXE - with that, it will run everything as well under 64-bit installations!

That means: It's solved for me as well!

btw2: Would it be possible, to have a better save-option, so that I can save the whole compilation project including icon, includes and file-info?

support
Site Admin
Posts: 404
Joined: Fri Feb 13, 2004 1:05 pm

Post by support » Sat Feb 13, 2010 2:08 am

Yes, next version will save all optins inside script as comments.

msacademy
Posts: 3
Joined: Mon Feb 09, 2009 7:47 pm

Scriptcryptor on 64 bit Windows 7

Post by msacademy » Thu Jun 23, 2011 12:46 pm

I am having the same issue. The program just does nothing and ends. It works fine as a vbe or when compiled with VBSEdit. And of course it works fine with script as a vbs.

HELP!!!!!

support
Site Admin
Posts: 404
Joined: Fri Feb 13, 2004 1:05 pm

Post by support » Fri Jun 24, 2011 3:43 pm

VBSedit doesn't compile scripts. It's only create sfx-archive with launcher.

Whale
Posts: 22
Joined: Thu Sep 24, 2009 5:56 pm

Post by Whale » Wed Jul 06, 2011 5:18 pm

I just notce it stated in vbsedit website, their new release no longer extract to temp file anymore. Correct me if I'm wrong. :?:

support
Site Admin
Posts: 404
Joined: Fri Feb 13, 2004 1:05 pm

Post by support » Wed Jul 06, 2011 8:38 pm

I'll check this out.

Post Reply