NSIS for Smartphone: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
You can compile a setup launcher which will install multiple CAB files to Smartphone using the Nullsoft Scriptable Install System (NSIS).
You can compile a setup launcher which will install multiple CAB files to Smartphone using the Nullsoft Scriptable Install System (NSIS).
http://img170.imageshack.us/img170/2365/snap15530si.gif
http://img170.imageshack.us/img170/2365/snap15530si.gif
 
<p>
<p>
Our objective is to make a desktop installer which will install several CAB files to a Smartphone by passing CAB files to the ActiveSync program.
Our objective is to make a desktop installer which will install several CAB files to a Smartphone by passing CAB files to the ActiveSync program.
http://img352.imageshack.us/img352/7351/launchers0mp.gif
http://img352.imageshack.us/img352/7351/launchers0mp.gif
Line 70: Line 70:
   
   
   
   
Try this '''sample setup luncher''' [http://www.gpcarreon.com/Multi.Cab.Install.exe CLICK ME]
Try this '''sample setup launcher''' [http://www.gpcarreon.com/Multi.Cab.Install.exe CLICK ME]

Revision as of 10:34, 9 September 2005

You can compile a setup launcher which will install multiple CAB files to Smartphone using the Nullsoft Scriptable Install System (NSIS). snap15530si.gif

Our objective is to make a desktop installer which will install several CAB files to a Smartphone by passing CAB files to the ActiveSync program. launchers0mp.gif Very Important Notice
It will facilitate understanding of this article if you already have a background knowledge on how INI files are written and how CAB files for Smartphone are created. Requirements
1. NSIS version 2.09
2. This ZIP File - contains NSIS sample script, sample CAB, sample INI and other required files
3. Microsoft Active Sync program installed on your PC
Instructions
1. Download then install NSIS version 2.09. Once installed, it will create necessary registry changes on your PC so that all *.NSI files will be associated with Nullsoft Scriptable Install System. 2. Download then unzip contents of the ZIP file. You should have the following files:
snap15473xs.gif 3. Highlight ‘SCRIPT.nsi’ then right click mouse. Click on ‘Compile NSIS Script’.
snap15486yh.gif 4. Wait for the confirmation window.
snap15498kg.gif 5. Verify that your file was compiled.
snap15508qq.gif 6. Test your file.
The EULA screen.
snap15416qx.gif The Options screen. You can choose from Custom or Full Installation type.
snap15528nc.gif The Installation Directory dialog. This is where your files will be dumped.
snap15557ab.gif Finally, once the last CAB file is being installed on the phone, you will see this on your computer’s monitor.
snap15549ve.gif Tips
- Open the NSI file then make necessary changes (change app name, change icon, change component names etc)
- Provide your own CAB and INI files, provide a custom icon.
- Change content of the sample eula
- Open the html file then change the contents.
To add another CAB file (File 4)
Code in green should be inserted between the 2 red lines. Before you recompile the script, ensure that you have the new files (4.CAB and 4.ini) inside the folder.
snap15569fi.gif Try this sample setup launcher CLICK ME