A verbose log file should tell you what is going on.
-Original Message-
From: Jianjun An (Person Consulting) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 21:35
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How can I get the correct
The problem is my MSI cannot remove the components if user changed default
install path which I did not save it into registry.
The context about this problem is in the attachment.
Thanks
Jianjun An (Person Consulting) wrote:
How can I do that? I am seeking a way not using registry.
What
Jianjun An (Person Consulting) wrote:
The problem is my MSI cannot remove the components if user changed default
install path which I did not save it into registry.
It can. If you need a property value to run a custom action, for
example, you need to store it in the registry and use a
In that case, something is definitely wrong. Uninstall should work
from any install location without your intervention.
You had said that we were both doing the same thing, but your
directory table is not the same as mine. You have:
Directory Id=TARGETDIR Name=SourceDir
Directory
Things *might* also get confused if a CustomAction is modifying the Directory.
PS: Directory/@Name=. is the same as not having the Directory/@Name.
-Original Message-
From: Kevin Richardson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 25, 2008 08:54
To: Jianjun An (Person
I have changed my code. But it doesn't work.
Please have a look at the code, there may be something wrong with directory I
think.
Do I miss some important things?
Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder Name=PFiles
Directory Id= MyAppFolder Name=
Hi:
I wrote a MSI file to install my application. It can let user select install
path through BrowseDlg. But once user changes the default install path, it
cannot remove any file which the MSI has installed.
I checked the installation log file. I found that it cannot get the correct
You probably want the directory tree to look like this:
Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder Name=Program Files
Directory Id=MyAppFolder Name=myappname
Directory Id=INSTALLDIR /
/Directory
/Directory
/Directory
This sets INSTALLDIR to be
Thanks, what I did is same as what you suggested. The difference is yours CA
has condition but mine is setting the INSTALLDIR property immediately.
I checked some sample code of Wix, and found that some of them do not use
registry to store install path and can also get user specified path when
BTW, if the registry which storing the install path be deleted by user or some
other applications, can the uninstall get the correct install path ?
-Original Message-
From: Jianjun An (Person Consulting) [mailto:[EMAIL PROTECTED]
Sent: 2008/11/25 11:41
To: Kevin Richardson
Cc:
Jianjun An (Person Consulting) wrote:
How can I do that? I am seeking a way not using registry.
What do you need it for? MSI will automatically remove the components it
installs.
--
sig://boB
http://joyofsetup.com/
11 matches
Mail list logo