Hello,
In the advanced installer it is mentioned in the "Execution Options" of custom action that "Fail installation if custom action returns an error" , that means as soon as custom action returns value 3 (3=error value) then the whole process should rollback.
BUT please have a look into my attched "testrollback.aip" where i am trying to execute my custom action (testaction.vbs) which returns value '3' as soon as I select Next option in the dialog box "NewSeqDialog" (in First time Install). I was wandering technically it should rollback the whole installation process (so that i also do have to uninstall the app from the Control Panel-->Programs and Features manually). As Rollback funtionality should do every thing (e.g, unintall procedure) automatically.
but why it is not performing nay roll back function in my attached "testrollback.aip" ? please have a look.
Although at the end i get Message from the advanced installer that "the test setup wizard ended prematurely" and it is also not completely removing the app from the system and i have to do the un-installation by going to the Control Panel-->Programs and Features.
i know the uninstallation can be done by running my app from the advanced installer but then what's the purpose of rollback function.
What I want is as soon as there is an error (value=3) comes by some custom action. rollback functionality start and do all the uninstallation automatically. Please let me know about the possible options.
Thanks in advance,
Qureshi
FOLLOW US
Get the latest news in Application Packaging