Archive: [REQUEST] A more robust zip2exe.


[REQUEST] A more robust zip2exe.
*1st sorry for the bad gramma, and spelling, I am very tired, and I am posting, it's not a good combination, like drink driving.*

I do like the way you have the set up of your Zip2Exe, but its missing a feather that I would just love to see. (and due to me being a noob to NSIS i use it lots more then makeing my own Scrip files.)

This is a screen shot of what i am using now for all of my Zip2Exe needs.

*NOTE THAT* THE HKCU\softwear\valve\steam\ModInstallDir as this as its value ...
c:\valve\steam\steamapps\dygear@aol.com\half-life

So heres the images ...
http://www.thenz.org/Old/Images/NSIS/NSISIdea1.jpg
http://www.thenz.org/Old/Images/NSIS/NSISIdea2.jpg
http://www.thenz.org/Old/Images/NSIS/NSISIdea3.jpg
http://www.thenz.org/Old/Images/NSIS/NSISIdea4.jpg
http://www.thenz.org/Old/Images/NSIS/NSISIdea5.jpg
http://www.thenz.org/Old/Images/NSIS/NSISIdea6.jpg
http://www.thenz.org/Old/Images/NSIS/NSISIdea7.jpg

The file that it makes is this ...
The Icon :
http://www.thenz.org/Old/Images/NSIS/NSISIdearicon.gif
The Program :
http://www.thenz.org/Old/Images/NSIS/NSISIdea8.jpg
http://www.thenz.org/Old/Images/NSIS/NSISIdea9.jpg
http://www.thenz.org/Old/Images/NSIS/NSISIdea10.jpg
And it exeacuded techtvlogo.gif
http://www.thenz.org/Old/Images/NSIS/NSISIdea11.jpg

This is the SoF (Somthing optimes file).
http://www.thenz.org/Old/Images/NSIS...eariconsof.gif

And the code that is in NSISIdea.sof

[SFX]
Title=Title goes here.
MsgText=Hello to the NSIS team, hope you like this idea.
MsgType=0
Autorun=1
Runfile=TechTVLogo.gif
Params=
AskAutorun=1
SelfStarting=0
DestPath=HKCU\Software\Valve\Steam\ModInstallPath
DestSubPath=../
OvrType=0
HideOvrBox=0
SelectFile=0
ShowSuccessMsg=1
ExpandEnvVars=1
HideFileList=0
AllowCancel=1
Icon=

Are you saying that zip2exe needs to be updated to look like that (more user friendly perhaps)?

If you want to make a better installer from using zip2exe, you can add NSIS code to the NSIS\Contrib\zip2exe\Modern.nsh file.

-Stu


I think that will required more coding that equals biggers size of the header...


that's kinda how pimpbot works. i have plans to release the sourcecode, but first i want to overwork the structure, so people can easily modify it for their needs. guess that is going to become pimpbot v3.

btw, pimpbot itself is written in nsis :)


I think you could make that with NSIS. If you're going to put a progressbar, you have to use InstallOptionsEx. Buttons that have text w/ images and Header control for the files (which is essential) aren't supported by InstallOptionsEx.

Now, if it is going to be implementated... you have to make it. Because, you know, NSIS has lots of feature requests already and will be a long time before it gets implemented.


Nice, but i always prefered WinRAR or
something like this (real archiver)
instead any somehow-solution.
Archiver are specialists like NSIS.


as i have most of the code from pimpbot already, i've decided to work on something like that.

however, since i'm completely unexperienced with validate-functions, i could need some help one this. i know there's a pretty good example coming with nsis, do i have to mind anything syntax-wise when using mui?

i guess i could complete the task within august.


You don't need to create these validate functions by now, and if you do, you don't have a lot of them to create anyways. It's a wizard type program, like yours, so it doesn't have to have lots of things changing.


as you suggested i want to validate the inputs of the file/directory dialogs and disable some controls dynamically. however, kichik pointed me in the right direction.


Thank you all very much for the replies i will be looking into pimpbot.


Is there a posable mod that could be made to pimpbot to allow it to be geared more like the "zip2exe" or "dir2exe" that I showed?


as i said, not yet. but i plan to do that, based on pimpbot :)


Well man people are waiting :P.
Thanks for the help, and I hope for a speedy version of "zip2exe" "dir2exe".