|
|
#1 |
|
Junior Member
Join Date: Apr 2006
Posts: 5
|
Zip to EXE then run specific file... possible?
I use VB6 package and deployment wizard...
It creates 3 files: setup.exe setup.lst dbobjectcreator.cab I want to make it where it's just 1 file. like: dbobjectcreator.exe only. I thought maybe the Zip2Exe in this program could do that, maybe it can, but I cannot figure out how. I need it to create a setup.zip and when someone clicks on that file it needs to extract all the files to their Temp folder in windows and then auto-run the setup.exe inside of dbobjectcreator.exe. Is this possible with this program? Thanks for any information, Duder |
|
|
|
|
|
#2 |
|
Major Dude
|
bot directly, sry.
it will just create an nsis installer that behaves like an SFX archive. for you purposes you should rather try NSIS Self Extractor. search the forums or the NSIS Wiki for it. it's more powerful than Zip2Exe and looks nicer ![]() beware: the resulting .exe file will be a nsis installer executable, no SFX, so you'll be unable to extract it with an unzipper. hand by comm@nder21 ---------- WiKi pages:CreateInternetShortcut|Enhanced FindWindow|Parse CSV-Data|Open/Close CD-Drive|Installer without Icon|Vista application compatibility |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
You can try this:
http://nsis.sourceforge.net/NSIS_Self-Extractor_kit It comes with a DirToEXE program which is probably what you really need. -Stu |
|
|
|
|
|
#4 | |
|
Junior Member
Join Date: Apr 2006
Posts: 5
|
Quote:
I'm just interested in the Zip to EXE. I'm zipping my 3 files. Then i want to create a exe using this program. Then when you run that EXE it should place the 3 zipped files into a TEMP folder and then auto-run the setup.exe file. |
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Apr 2006
Posts: 5
|
Think i misread the previous post.
|
|
|
|
|
|
#6 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
If you want to keep it simple, then your script would need to look like this:
code: Put it in the same folder as your files, then right click on it and select Compile NSIS Script. -Stu |
|
|
|
|
|
#7 | |
|
Junior Member
Join Date: Apr 2006
Posts: 5
|
Quote:
|
|
|
|
|
|
|
#8 | |
|
Junior Member
Join Date: Apr 2006
Posts: 5
|
Quote:
I tried this: Delete "setup.exe" Delete "setup.lst" Delete "dbobjectcreator.cab" This does not work though. I tried to make it extract into a certain folder. Like: SystemDir/Program Files/XYZ but XYZ would not be created? |
|
|
|
|
|
|
#9 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
code: I've put a MessageBox in there so you can check that the installer is waiting for setup.exe to complete. If you get the MessageBox immediately then you'll need to pass a command line parameter to setup.exe to make it wait (which we do not know at this time). -Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|