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
Cancel installation on U3 drive.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Cancel installation on U3 drive.
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
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.
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.
Marcus van Houdt
Software Developer at Runtime Revolution
marcus@runrev.com
Software Developer at Runtime Revolution
marcus@runrev.com