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 - all correct.
Can I do this?
I've found line in log file:
RemoveExistingProducts: Application: {OLD INSTALL GUID}, Command line:
UPGRADINGPRODUCTCODE={GUID}  CLIENTUILEVEL=0 REMOVE=ALL
Can I change this?

Anton



On 7/4/07, Bob Arnson <[EMAIL PROTECTED]> wrote:

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 RemoveExitingProduct and delete new
> files. How I can avoid this? Or I should install in other directory
only?

You can schedule the RemoveExistingProducts action in several different
places. See its MSI SDK topic for details.

--
sig://boB
http://joyofsetup.com/



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to