Skip to content
⌘ NSIS Forum Archive

2 question Install/cancel

4 posts

Freezerman350#

2 question Install/cancel

Hello,

It is possible to skip installation part after a reboot and a restart of my install... please if the answer is yes, can you tell me the answer and not "check archive dude" because i dont find it !

Secondo :

It is possible de delete regkey when I click cancel during installation "ex: on the I Agree form"
Freezerman350#
If you know your 3rd party installer is going to require a reboot, then one possible solution would be to:
1) Create a registry entry indicating where your installer left off.
2) Make an entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce with your installer name and location.
3) Your installer will be run after the PC reboots.
4) Read the registry entry and continue your installation.

This is a fairly simplistic method, but it may do the trick for you.

I don't think you can disable the reboot prompt from the 3rd party installer.


__________________
Cheers,
Iceman_K

But how to skip page
zimsms#
If the installer was made with Installshield or MSI you can supress the reboot flag within the child process, however, you must then handle the reboot, if one is required. The isstructions to supress an Installshield install reboot can be found on the Installshield website. MSI reboot supression can be found on the Microsoft website. I haven't had to supress a Groupwise one yet.