Hi,
I am attaching a sample project showing how to make an internet installer.
The setup wizard of this project will download the latest version of Pocket PC Installation Creator from the internet and will launch it. It will not change anything else to user's computer.
If you want to make such a installer here it is what to pay attention for:
* In advanced Options,
Uninstallable must be set to no. That way the setup wizard will not create a uninstall entry in user's computer, as only downloads the actual installer and runs it.
* In Wizard Dialogs, disable all the standard dialogs, except the Ready to Install dialog. (actually if you have download files in your installation, Setup Wizard will always show this dialog, even you have disabled it) These standard dialogs don't needed to such an installation.
Update: In the new version of ppcic this limitation is solved. The download support no longer depends on the Ready to Install dialog. You can freely disable this dialog if you want.
* Now, add a Win32 Module. In files Section,
add the file you want to download in the {tmp} folder. You must set as destination the {tmp} folder, not the default {app} folder.
Set as source the fully qualified URL of the file you want to download, for example
http://www.aperitto.com/media/downloads/ppcic_current.exe
* Now, in Run on Install Section, add a new entry.
As file name set the path to the downloaded file, example {tmp}\ppcic_current.exe and
set the No Wait and Hide Wizard flags to yes. Leave the others to no.
Build and run your project. Congratulations, your new internet setup wizard is ready.
The download functionality is also available and for CAB Collection, PalmOS and Direct Copy to Mobile Device Modules. Simple, in these modules, set as source filename a fully qualified URL, and PPCIC will do the rest...
Regards,
Nick Protopapas