Registered member login:
Register Now
Altirigos » Altiris Administrators » Wise Packaging » Compiling a VBS using Wise Script Editor

» Current Poll
Do you leave the Aclient enabled?
YES - 83.06%
103 Votes
NO - 16.94%
21 Votes
Total Votes: 124
You may not vote on this poll.
» Stats
Members: 9,470
Threads: 11,737
Posts: 55,238
Top Poster: Nick (4,981)
Welcome our newest member, kade714
» Online Users: 36
2 members and 34 guests
Caldwell, LordofthePatch
Most users online at once 294, 06-30-2007 at 12:24 PM.
» March 2010
S M T W T F S
28 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 123
Reply
Old 05-11-2009, 12:30 PM   #1 (permalink)
 
Status: Junior Altiris Admin
Join Date: 05-07-2009
Location: Dallas
Posts: 3


Compiling a VBS using Wise Script Editor

I'm using Wise Package Studio 7.0 sp3. I'm compiling a small VBsript using WiseScripting Editor. I've successfully compiled the script into an exe file. What I need some guidance on is how or what settings I need to modify before compiling.. so, the exe file (when excuted) will not take up the entire screen with a blue background. I would like the executable to function in a small window and not the entire screen.

Any gudiance would be greatly appreciated.
dayo is offline   Reply With Quote
Old 05-11-2009, 10:57 PM   #2 (permalink)
 
Status: Super Altiris Admin
Join Date: 02-13-2008
Location: Chicago
Posts: 149


why not create an msi instead of an exe? you could then take advantage of all the msi switches.

when creating your msi make sure it's set to install per system instead of per user.
almanza is offline   Reply With Quote
Old 05-12-2009, 11:44 AM   #3 (permalink)
 
Status: Junior Altiris Admin
Join Date: 05-07-2009
Location: Dallas
Posts: 3


Almanza,

Thanks for the reply. I’m new to Wise… so I’m not sure if I’m asking the question right.
I wrote a vbs script that a user can run at any time on his/her os. When executed the script displays a menu allowing the user to make a selection. Based on that selection an action would occur. I’m compiling the vbs code into an exe file using Wise so the user doesn’t have access to it.

You saying I can create an msi file to accomplish the same task?

If so, what are the basic steps to get started?

Thanks,
dayo is offline   Reply With Quote
Old 05-12-2009, 05:13 PM   #4 (permalink)
 
Status: Super Altiris Admin
Join Date: 02-13-2008
Location: Chicago
Posts: 149


Ok, think i understand what your trying to accomplish...

When you launch the vb script does it display in full screen mode or does this only happen using the exe you created? check the properties of the exe for any options that may help

There are some free utilities out there that allow you to create exe out of vbs which may help.

Wise is used to package software installs and allows you to modify the windows that are displayed during the installation so this might not be the best tool to use for your particular project.
almanza is offline   Reply With Quote
Old 05-12-2009, 06:21 PM   #5 (permalink)
 
GeoMac's Avatar
 
Status: Super Altiris Admin
Join Date: 04-26-2005
Location: Indianapolis
Posts: 196


Quick & Dirty Freeware Tool

Quote:
Originally Posted by almanza View Post
There are some free utilities out there that allow you to create exe out of vbs which may help.
What I use is a little tool called "Reg2exe":
Download Reg2exe 2.25 Build 2006.02.20 - Creates 'self-importing' executables from Windows Registry files - Softpedia



Basically, you extract the Reg2exe from the zip and double click it.
  1. You should see "Register" and "Close" buttons.
  2. Click "Register" and then the "Close" button.
  3. Right-click on the target .reg file and you should see a context menu item called "Convert to EXE".
  4. Let 'er rip! In a coupla seconds, you'll have a bright shiny executable, ready for a NS SWD task.
This little gem aint "Wise", but it'll do in a pinch!

Cheers,
__________________
"Any sufficiently advanced technology is indistinguishable from magic". - Arthur C. Clarke
GeoMac is offline   Reply With Quote
Old 05-12-2009, 06:49 PM   #6 (permalink)
 
GeoMac's Avatar
 
Status: Super Altiris Admin
Join Date: 04-26-2005
Location: Indianapolis
Posts: 196


If you don't want to go the freeware route, you could try "IEXPRESS.EXE", which can be found in: C:\Windows\System32!

Here's a quick walk-through:
Renegade's Random Tech: How to Convert a .BAT file or .VBS file into .EXE to Enable Pinning to XP Start Menu

__________________
"Any sufficiently advanced technology is indistinguishable from magic". - Arthur C. Clarke
GeoMac is offline   Reply With Quote
Old 05-13-2009, 01:49 PM   #7 (permalink)
 
Status: Junior Altiris Admin
Join Date: 05-07-2009
Location: Dallas
Posts: 3


Thank you both Almanza and GeoMac,

I checked the properties settings on the compiled exe file but it didn't have any setting to modify the display the way I wanted it. So... I found one of those free utilities you mentioned and I was able to compile the vbs file into an exe. The utility is called vbstoexe.

Thanks again for your assistance.
dayo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 08:00 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos