Re: [WiX-users] Previous Install Folder and Update

2007-07-05 Thread Bob Arnson
Anton Filippov wrote: > How I can set some variables for uninstall. I have one error in custom > action and default uninstallation always finished with error (custom > action don't return ERROR_SUCCESS value to install and installer > interpret this as error). But if I set some property and unin

Re: [WiX-users] Previous Install Folder and Update

2007-07-05 Thread Anton Filippov
Thanks for answer, Bob. How I can set some variables for uninstall. I have one error in custom action and default uninstallation always finished with error (custom action don't return ERROR_SUCCESS value to install and installer interpret this as error). But if I set some property and uninstall -

Re: [WiX-users] Previous Install Folder and Update

2007-07-04 Thread Bob Arnson
Anton Filippov wrote: > 1. How to determine install folder for previous installation (when > I do major update)? Write it to the registry and use a RegistrySearch to locate it. > 2. When I intstall major update in same folder as previuos version - > after setup process intaller do RemoveExiting