Re: [WiX-users] major upgrades and component states

2008-10-05 Thread Bob Arnson
Ian Elliott (Excell Data Corporation) wrote: If I condition out the component that contains the scripts, it doesn't get installed during major upgrade. I see in the log that ComponentRegister then registers that component as State=-7. When you finally uninstall, the component does not get

[WiX-users] major upgrades and component states

2008-10-01 Thread Ian Elliott (Excell Data Corporation)
I have some sql scripts that should only be run on initial install and never again. Unfortunately, before this was released, the scripts were in such a state such that they couldn't detect that they had already been run. So, when the component installs during the major upgrade the scripts run