Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Wrapper for vbscript

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,33978
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Wrapper for vbscript
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Wrapper for vbscript - 4/26/2006 6:22:28 AM   
  ylnwwd

 

Posts: 15
Score: 0
Joined: 2/28/2006
Status: offline
Hello,

I need to create an exe wrapper for my vbscript and some associated files. I need this to distribute the exe and the associated files through email, so that the end user can just run the exe and it would update the associated files in their computer.

I would appreciate a quick response pleeezzzzz

Thanks a lot for the help.

ylnwwd
 
 
Post #: 1
 
 RE: Wrapper for vbscript - 4/26/2006 6:28:34 AM  1 votes
  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

(in reply to ylnwwd)
 
 
Post #: 2
 
 RE: Wrapper for vbscript - 4/26/2006 6:45:44 AM   
  ylnwwd

 

Posts: 15
Score: 0
Joined: 2/28/2006
Status: offline
hey ebgreen,

nice to see you again!! Thanks for the reply. I have another question which is a wee bit unrelated to vbscript. I have an asp page which generates the associated files. Is it possible for it to run some command code which would dynamically wrap the files and the vbscript?

thanks
ylnwwd

(in reply to ebgreen)
 
 
Post #: 3
 
 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

(in reply to ylnwwd)
 
 
Post #: 4
 
 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

(in reply to ebgreen)
 
 
Post #: 5
 
 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

(in reply to DiGiTAL.SkReAM)
 
 
Post #: 6
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Wrapper for vbscript Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts