Page 1 of 1

Cancel installation on U3 drive.

Posted: Thu Dec 21, 2006 1:33 pm
by Mark
Hi,

I am about to release Salery for U3. Now, I want to show a license agreement when the u3install parameter is sent to the standalone and if the user clicks "disagree" I want to stop the installation process and remove all files that have been installed already.

I might be able to simply delete the files from the U3 drive, but I think it takes a little more than that, as I also want to remove the Salery icon from the Launch Pad. If anyone has done this already, could you please tell me how?

Thanks,

Mark

Posted: Thu Dec 21, 2006 5:09 pm
by mvanhoudt
Hi Mark,

You can signal to the launchpad whether an install should continue using a quit code, if it is nonzero, the launchpad will discontinue the install.

Thus, you only need to do:

on disagree
quit 1
end disagree

No files should be left on the system, and you should not have to do any work to manage this.

Posted: Thu Dec 21, 2006 5:42 pm
by Mark
Thank you Marcus, that's a very clever construction.

Best,

Mark