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

Trying to Understand Windows Installer


5 replies to this topic

rpalladino

rpalladino
  • Members
  • 6 posts

Posted 12 July 2005 - 14:46

Hello.

I've been developing Windows Installer setups for a year, but still do not understand how some things work.
My setup is the same used for installation and upgrades. On MaintenanceType dialog, I use event Reinstall = All.
But sometimes some features do not get reinstalled, and it gives me lots of trouble, cause I dont know why. For example, in one of my clients, one specific feature appears (on log) on the ADDLOCAL property, and is not in REINSTALL property!
Then its action is set to "Local", instead of "Reinstall".
Sometimes also, features actions are "Reinstall", but its components simply appears with action "null".

What Actions control reinstallation of features and components?
How can I make it simply work?

Thank you very much for help!!!

Rafael Palladino

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 July 2005 - 12:36

Generate a verbose log file and look for SELMGR errors

rpalladino

rpalladino
  • Members
  • 6 posts

Posted 13 July 2005 - 13:32

Thank you!
I did it, but found no SELMGR entry or "broken" word.
It looks the Upgrade Rules are Ok.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 July 2005 - 13:45

What does the log say about the component selection state? Something like "won't overwrite because newer version already exists" and the like.

From the top of my head I hae no idea what's going wrong.

rpalladino

rpalladino
  • Members
  • 6 posts

Posted 13 July 2005 - 14:47

The log says nothing like this.
Stefan, I think this problem is caused by a structural error on my setup design.
I really would like to understand what exactly Windows Installer does to determine
actions for Features/Components.
Do you know any source where I could learn it deeply?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 July 2005 - 17:53

QUOTE
Do you know any source where I could learn it deeply?

Reading the SDK and relevant blogs, examining log files, experiment