NSIS for Smartphone: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
[[File:Snap1553.gif]] | [[File:Snap1553.gif]] | ||
<br> | <br> | ||
<br> | <br> | ||
<br> | <br> | ||
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. |
Revision as of 16:37, 9 September 2005
You can compile a setup launcher which will install multiple CAB files to Windows Mobile-based Smartphone using the Nullsoft Scriptable Install System (NSIS).
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.
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 NSIS.for.SP.zip (4 KB) - 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:
3. Highlight ‘SCRIPT.nsi’ then right click mouse. Click on ‘Compile NSIS Script’.
4. Wait for the confirmation window.
5. Verify that your file was compiled.
6. Test your file.
The Options screen. You can choose from Custom or Full Installation type.
The Installation Directory dialog. This is where your files will be dumped.
Finally, once the last CAB file is being installed on the phone, you will see this on your computer’s monitor.
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, etc)
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.
Try this sample setup launcher Multi.Cab.Install.zip (23 KB)