Archive: Completely simple question - just not getting it


Completely simple question - just not getting it
Okay, so this is going to prompt people to write back saying "read the documentation!" but I am not understanding the process/purpose of using NSIS. When I make an installer, is this exe supposed to run on my PPC? Because when I run it on my PC it works fine but according to devbuzz.com I can use NSIS to make an installer for a PPC device. However, when I try to run the compiled install exe I get "This is not a PPC application". Help!

Here is my ultimate goal. I have a VS2003 application which runs on a PPC2003 iPaq 5550 device. It requires SQLClient, SQLCE, etc, to already be installed before the app can run. I am looking for a solution which can be carried on a storage card (there will be no PC onsite when these handhelds are setup). I need that solution to be an executable which first moves the 5 CAB files onto the device, then launches/installs them, then moves the main app onto the device and makes a shortcut in the start menu to that app.

I found NSIS from DevBuzz (http://www.pocketpcdn.com/articles/multicabinstall.html) on how to run multiple cab files from a setup exe. But now I am SO confused as to how to compile an installer that works on a PPC rather than a PC. Does this product do what I need? If so, what am I doing wrong that it will only launch on a PC? Could it be that I have PPC2003 rather than a lesser version?

Any point in the right direction would be much appreciated!
Jenn


More recent NSIS releases use a lot of Windows API calls, whereas the older NSIS 1.98 does not.
Try the older 1.98 version.

[edit]But thinking about it now, I'm not actually sure what you should do.[/edit]

-Stu


More likely an NSIS dev member will know what to do, but I'm not sure that anyone here has encountered your problem/query.

Have you tried searching this forum too?

-Stu


According to the script in that page you linked to, the installer should run on the computer the Pocket PC is connected to and not on the Pocket PC itself.


So NSIS is not meant to build something which runs on the standalone device? Just want to be crystal clear.

Does ANYONE know of any product which does not rely on the device being attached to a PC to run an install program that installs multiple cabs? The closest I have come is using a shell command to execute a cab - which results in a popup saying "Double click the cab to run the application" (no help).

You guys have been doing this much longer than me, I'm sure - someone's gotta know SOMETHING!!! Help!!!
Jenn


I have absolutely no idea wheather NSIS should work on any Pocket PC devices. I have never tried Pocket PC, read technical information about it or heard about NSIS used in it.

Windows CE, however, looks very similar to normal Windows. Maybe NSIS will work on it.


NSIS does work with Pocket PC
I know that it has been a while since this thread has been replied to, however, I wanted to clear some things up for you guys if you are still curious...

By downloading the sample zip file from http://www.pocketpcdn.com/articles/M...bInstall.html, you can create a setup for multiple cab files to install on a Pocket PC device.

By altering the test.nsi file to use your cab files and their corresponding ini files, the cab files will install on your connected device.

I altered the test.nsi file to install 5 different cab files on my device.

Hope this helps!
Kelster