Login | |
|
 |
RE: Wrapper for vbscript - 4/26/2006 6:28:34 AM
|
|
 |
|
| |
ebgreen
Posts: 5069
Score: 31
Joined: 7/12/2005
Status: offline
|
Winzip will create self extracting executeables and I think will execute a command when it completes extraction. If you have PrimalScript, it will package VBScripts into an exe along with support files as well.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Wrapper for vbscript - 4/26/2006 6:53:23 AM
|
|
 |
|
| |
ebgreen
Posts: 5069
Score: 31
Joined: 7/12/2005
Status: offline
|
Winzip provides a command line plugin but I'm not sure if it is capable of creating a self extracting exe or not. I believe that PrimalScript exposes an API but I have no familiarity with what functionality is exposed through it.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Wrapper for vbscript - 4/26/2006 7:17:11 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
I've worked with Primalscript on this, and the best I could do was to get it to work if I already had primalscript open. The version of the file (vbs2exe.exe) that is distributed with primalscript seems to REQUIRE that primalscript be open and running for it to work. Go figure.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: Wrapper for vbscript - 4/26/2006 6:19:53 PM
|
|
 |
|
| |
ginolard
Posts: 1068
Score: 21
Joined: 8/10/2005
Status: offline
|
If it's a really simple script you *could* try converting it to VB.NET. Visual Studio Express Edition is free at the moment and, although some the .NET commands and syntax are different to VBS, much of the methodology (objects, methods, properties etc) is the same. I'm having a blast converting ManagePC to .NET and it's not as tough as I thought it would be. There's also LOADS of sample code out there to help you.
_____________________________
Author of ManagePC - http://managepc.net AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm
|
|
| |
|
|
|
|
|