Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Changing Custom Action after installation


2 replies to this topic

Mr.B

Mr.B
  • Full Members
  • 30 posts

Posted 06 December 2006 - 09:07

Hey,

I wrote a small installation that on uninstall shows a Form in order to determine if I need to do a specific action.

During update I saw that this form loads BUT i dont want this behavoir.
I managed to fix it in my code.

Since I cant touch the first installation I created. Is there any option to modify the uninstall of the first installaiton after it is installed on my machine (before the upgrade) so when i will do the upgrade the Form will not be loaded.

Did I mentioned that I am working with Visual Studio and this is an MSI project (Not IS)

Thanks

Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 06 December 2006 - 10:31

You can create a minor upgrade and install this either as a real install or as a patch install (this should re-cache the new MSI database in place of the old one). Make sure you test the new patch well to avoid conditional problems like you already discovered in the first release.
Regards
-Stein Åsmul

Mr.B

Mr.B
  • Full Members
  • 30 posts

Posted 07 December 2006 - 16:36

Hey.

Thanks for your quick answer.
I beilive the best solution will be minor upgrade.
I need to know something before starting check it:

All I want the minor upgrade to do is to add a condition to the Uninstall CA.
is it possiable?

Does someone can referance me / guide me how to do it?

Thanks again