Abyssmedia.com Forum Index Abyssmedia.com
Abyssmedia Support Forums
 
  FAQ    Search    Memberlist    Usergroups   Register 
  Profile    Log in to check your private messages    Log in 

Error with WshShell.Run under W2K8 R2

 
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> ScriptCryptor
View previous topic :: View next topic  
Author Message
cal77



Joined: 08 Nov 2009
Posts: 2

PostPosted: Sun Nov 08, 2009 12:05 am    Post subject: Error with WshShell.Run under W2K8 R2 Reply with quote

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
Back to top
support
Site Admin


Joined: 13 Feb 2004
Posts: 378

PostPosted: Fri Nov 20, 2009 11:00 pm    Post subject: Reply with quote

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.
Back to top
twomble



Joined: 16 Dec 2009
Posts: 3

PostPosted: Wed Dec 16, 2009 2:56 pm    Post subject: Reply with quote

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.
Back to top
twomble



Joined: 16 Dec 2009
Posts: 3

PostPosted: Wed Dec 16, 2009 5:43 pm    Post subject: Reply with quote

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.
Back to top
support
Site Admin


Joined: 13 Feb 2004
Posts: 378

PostPosted: Wed Dec 16, 2009 7:21 pm    Post subject: Reply with quote

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



Joined: 16 Dec 2009
Posts: 3

PostPosted: Wed Dec 16, 2009 8:57 pm    Post subject: Reply with quote

Wow! Thank you very much! This has solved my problem. You guys rock! Very Happy
Back to top
cal77



Joined: 08 Nov 2009
Posts: 2

PostPosted: Sat Feb 13, 2010 12:56 am    Post subject: Reply with quote

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?
Back to top
support
Site Admin


Joined: 13 Feb 2004
Posts: 378

PostPosted: Sat Feb 13, 2010 2:08 am    Post subject: Reply with quote

Yes, next version will save all optins inside script as comments.
Back to top
msacademy



Joined: 09 Feb 2009
Posts: 3

PostPosted: Thu Jun 23, 2011 12:46 pm    Post subject: Scriptcryptor on 64 bit Windows 7 Reply with quote

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!!!!!
Back to top
support
Site Admin


Joined: 13 Feb 2004
Posts: 378

PostPosted: Fri Jun 24, 2011 3:43 pm    Post subject: Reply with quote

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



Joined: 24 Sep 2009
Posts: 22

PostPosted: Wed Jul 06, 2011 5:18 pm    Post subject: Reply with quote

I just notce it stated in vbsedit website, their new release no longer extract to temp file anymore. Correct me if I'm wrong. Question
Back to top
support
Site Admin


Joined: 13 Feb 2004
Posts: 378

PostPosted: Wed Jul 06, 2011 8:38 pm    Post subject: Reply with quote

I'll check this out.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Abyssmedia.com Forum Index -> ScriptCryptor All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001-2011 phpBB Group