Could you please list the entire install sequence?
Like for example, when installing first time, you go through:
Code: Select all
Begin
AppSearch
LaunchConditions
....
Not to mention, that if you press the "canel" button at anytime: it will run the SAME sequence but in REVERSE - for all those that have in that sequence "rollback" or "rollback with no impersonation".
Now if you have set the installation to: "uninstall first, and then install", then the sequence is even longer: because it goes through the uninstall phase, and then to the install phase.... (and what if you have selected "install first, and then uninstall"...?).
It also gets more complicated when there's an error either when it's trying to uninstall first, or when it's upgrading after successful unintall...
I mean: it's really complicated, and I can't say I'm sure what are the action sequences that are used (especially critical at that moment are the properties that change to reflect install or uninstall like: REMOVE="ALL").
One way for me to do that, is to create a msgbox on ALL the sequences I see in the "show standard action" (in the custom actions). And it's crazy, and I don't have time for such a long investigation. If you guys know this already, I would be more then happy to receive the FULL list!
Also, if you can add: which properties change? This is critical, because when you create a custom action, you most likely have to write some condition ("Execution condition") otherwise your custom actions will be called when you don't want them to be!
And what about when I enter the "Modify" page? (by running the SAME msi a second time: you enter the maintenance page). What are the action sequences there? probably different then "first time installation". There you can select to add some "Feature"/s or remove one/some. So what are the sequences there?
I ask this because basically I have got some things right, but when something fails, then the installation remains incomplete, and I'm not so sure why.
This list will REALLY help me and other developers using AdvancedInstaller to finally understand the sequences and what to expect.
I know this question is not easy, and I've been battling with this for about 2-3 months now, and I didn't want to ask this and was trying on my own, but I think I have reached a point where your help will be really appreciated. I just have to continue with other tasks that I have pending on me and can't invest so much time in investigation.
Again: thank you, Dashut.
FOLLOW US
Get the latest news in Application Packaging