WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Install Apps with WB Example

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

WinBatch EXE Installer

 Keywords: Setup Install Installer EXE WinBatch Scipt  

Question:

My current WinBatch project is nearing completion and I want to roll it out to users within my compnay. I simply need to extract a set of files to a pre-determined location on their machine and add a shortcut to the desktop.

I suppose I could write an installer in WinBatch but I have too many demands on my time already. So, the question is "what do the good folk here recommend?"

I'm looking for a low-cost, simple but effective solution. Something that looks slick as well would be a bonus. Any ideas?

Answer:

I'm not sure what would be lower-cost, simpler or more effective than WinBatch. If your install is as simple as you say it should take less than 20 lines of code (maybe less than 10) for the core part of what you need to do. Include the files as "Other" files and set the compiler so it doesn't do automatic extraction, If there are several files then use the Zipper extender and attach it as a zip file. Then something like:
If !DirExist(whatever_dir) Then DirMake(whatever_dir)
ExtractAttachedFile(filename,filedestination)
...repeat as needed along with any Box commands to show progress. ShortCutMake() can be used to create the shortcuts.

Other recommendations:


Article ID:   W17960
Filename:   WinBatch EXE Installer.txt
File Created: 2009:08:26:14:34:36
Last Updated: 2009:08:26:14:34:36