I am now successfully call an exe to write a license.dat file. However, I have
a small problem.
1) When I unistall how should I delete manually this file?.
I used this code, since I have to write to this directory, I need to create a
directory in wix itself under Appluication data. Now when Uninstall since it
cannot delete the top folder "qsystems" as it will have the license file. So,
it cannot delete the top level folder. Since there is no reference for this
file that has created by the extrenal program, how should I delete this file.
The following code does not work.
<Directory Id="LicenseDir" Name="SourceDir" >
<Directory Id="DOCS" Name="DOCS" LongName="Documents and Settings">
<Directory Id="Allusers" Name="AllUsers" LongName="All Users">
<Directory Id="ApplData" Name="ApplData" LongName="Application Data">
<Directory Id="QSI" Name="Qualtech" LongName="qsystems">
<Component Id="test" Guid="06BA0010-75AC-459D-8B18-2304B2504D8B"
SharedDllRefCount="no" KeyPath="no" NeverOverwrite="no" Permanent="no"
Transitive="no" Win64="no" Location="either"> <CreateFolder/>
<RemoveFile Id='test' On='uninstall' />
<RemoveFolder Id='QSI' On='uninstall' />
</Component>
---------------------------------
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
---------------------------------
Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users