Skip to content
⌘ NSIS Forum Archive

[REQUEST] A more robust zip2exe.

13 posts

Dygear#

[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 ...








The file that it makes is this ...
The Icon :

The Program :



And it exeacuded techtvlogo.gif


This is the SoF (Somthing optimes file).


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=
Afrow UK#
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
Yathosho#
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 🙂
deguix#
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.
Brummelchen#
Nice, but i always prefered WinRAR or
something like this (real archiver)
instead any somehow-solution.
Archiver are specialists like NSIS.
Yathosho#
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.
deguix#
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.
Yathosho#
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.
Dygear#
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?
Dygear#
Well man people are waiting :P.
Thanks for the help, and I hope for a speedy version of "zip2exe" "dir2exe".