Ready, steady… save!
You don’t need a chart to join in. Here are 2 ways to record your savings:
1. Cross it off
Pop a chart into your first post. Saved an amount? Cross it out! Read more »
£0.01 £0.02 £0.03
2. Write it down
Skip the chart and add updates to your first post. Read more »
“Another +£3 saved today. Go me!”
Use +£ before each new saving so it counts towards your total.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
.BAT .VBS & packaging question
Mark_h_4
Posts: 118 Forumite
in Techie Stuff
I have made myself a .vbs script that triggers lots of batch files and tasks etc however whats the best way to get it into a simple .exe or application?
0
Comments
-
By "best" do you mean "free"? There are programs out there that will convert .BAT, .VBS and so on into .EXE files, for example (but not as a recomm) top of the google list is: http://www.scriptcode.com/battoexe/Friendly greeting!0
-
You haven't said why you want to convert the calling VBS script into an EXE file. What's wrong with running it as it is?0
-
Essentially there is nothing wrong with running it as it is.
The script itself was created to setup lots of laptop settings and shortcuts in a hurry (We needed to deploy 50 in a week and they didnt use profiles as such) but I have started using it to learn new skills etc and its grown into quite a handy 'tool' I use at work. I have expanded it as much as I can I think and I thought well maybe packaging it would be the next thing to learn how to do.0 -
Its not really (any more) useful as .exe
Creating a windows installer package (.msi) would be a better option from both a practical and acquiring new skills point of view.0 -
Its not really (any more) useful as .exe
Creating a windows installer package (.msi) would be a better option from both a practical and acquiring new skills point of view.
You are assuming he wants to install it, which I don't think is the case here.
You have a number of options. The best for you would probably be http://nsis.sourceforge.net/Main_Page
You could use that to package multiple scripts and a bat file into an exe, it will extract all files and execute whichever you choose.If my post helped you in anyway, please hit the "Thanks" button! Please note any advice I give is followed at your own risk!0 -
would be the next thing to learn how to do.
Changing it to an exe won't really teach you much. Looking at achieving the same thing in a language that can be compiled would probably be more useful. Have a look at a .net language (VB is the easiest though it is worth considering C# as well) learning these can be very useful even when not a programmer.There's no sense crying over every mistake.
You just keep on trying till you run out of cake.0 -
btw - if your 50 laptops are all the same make/model, you can save a lot of grief next time by using imaging software (basically you se up one laptop perfectly with all your programmes, links, everything, then clone it onto all the others)0
-
... and incur lots of grief because of duplicating the same Machine SID over all the laptops, to say nothing of the same Windows Product Key!0
-
Their are 2 ways to install Windows Standard install (stick CD/DVD in and let it boot!) and from an answer file (known as Unattended Setup). Basically the same as a standard install but all the questions are read from a text file (i.e. machine name, region keyboard settings, network settings)
Look into "Automated installation kits" for windows it lets you install a single machine to the way you like and take an image of that machine on a Network share, HDD or DVD, it then the next time you reboot it (i.e. when you stick the image onto a new machine.) it runs a basic Install wizard that creates the unique ID's required like the SID. you can set the answer file up with the required CD-Keys on a usb stick (or floppy drive)
*Note it's been 10 years since I've ever needed to create an install image.
More info here:
http://technet.microsoft.com/en-us/library/ee523216%28WS.10%29.aspx
and here:
http://technet.microsoft.com/en-us/library/ee461266%28WS.10%29.aspxLaters
Sol
"Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere"0 -
Because of the company I work for there are strict policies about builds etc (we're only allowed to use specific one's) so I couldnt modify that or anything.
however a different language may be a good idea.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 356K Banking & Borrowing
- 255K Reduce Debt & Boost Income
- 456.3K Spending & Discounts
- 248.5K Work, Benefits & Business
- 606.2K Mortgages, Homes & Bills
- 179.1K Life & Family
- 264K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.2K Discuss & Feedback
- 37.7K Read-Only Boards
