Chaitanya
1st April 2009 13:28 UTC
How to create an installable using my nsi script ?
Hi,
I am a new to nsi scripts. I have installed Null Soft. I have my windows application MyApp.exe for which I want to create an installable. I have an nsi script with me which does all the reg settings and shorcurt icon on the desktop.
I want to know how do I use this script to create a cab or installable file.
Is there any command ? What command i should run on command prompt to generate an installable for my application
I was trying
"C:\Program Files\NSIS\makensis.exe" /DBRAND="AMP" /DVERSION="%1" MyInstallable.nsi
what should be DBVERSION ? Where do I specify my windows application file name i.e MyApp.exe?
Kindly help
Thanks and Regards,
Supriya
jpderuiter
1st April 2009 17:49 UTC
I was trying "C:\Program Files\NSIS\makensis.exe" /DBRAND="AMP" /DVERSION="%1" MyInstallable.nsi
what should be DBVERSION ?
See chapter 3.1 (MakeNSIS Usage) of the NSIS User Manual. (You don't need the DBRAND and DVERSION options)
Where do I specify my windows application file name i.e MyApp.exe?
You should use the File function to include your application file in the installer.
See chapter 4.9.1.5 of the NSIS User Manual.
There are many examples supplied with NSIS explaining the usage of the File function.
Begin with example1.nsi as a start.
JP
Afrow UK
1st April 2009 20:02 UTC
Right click on the source file and select Compile.
Stu
Chaitanya
13th April 2009 06:57 UTC
Thanks all,
It was a gr8 help !