If you don't use Advertise="no", WiX generates entries in the Typelib table. The SDK documentation for the Typelib table now says:
"Installation package authors are strongly advised against using the TypeLib table. Instead, they should register type libraries by using the Registry table. Reasons for avoiding self registration include:
If an installation using the TypeLib table fails and must be rolled back, the rollback may not restore the computer to the same state that existed prior to the rollback. Type libraries registered prior to rollback may not be registered after rollback."
From http://msdn.microsoft.com/library/default.asp?url="">.
I would suggest adding Advertise="no" to the Typelib element, and see whether that solves your problem.
You will need to list the interfaces in the type library using the <Interface> element and probably the classes (if any) using the <Class> element (also with Advertise="no" to ensure the Registry table is used rather than the Class table) since WiX does not extract interface definitions from the type library. At present tallow cannot do this (as far as I can see).
--
Mike Dimmick
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Sergio Sarabando
Sent: 06 October 2006 10:11
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Uninstalling typelib installer does not remove files orregistry keys
Hi all.
I was hoping you guys could help me on this one.
I'm no installer expert (very far from it), but I'm the guy who is responsible for making the installer package of my team's product (VB6 application).
I've been experimenting with WiX (v2) and I've chosen the following as a test cenario: we have a type library wich is distributed to each developer and installed/uninstalled in a automated way (calls to msiexec in a batch file).
So far, I've been able to both copy and register the typelib in my test machine; however, when I uninstall the product, neither the file nor the registry keys (TypeLib\{GUID...} and Interface\IAppBckgnd) are removed.
I'm including a snippet of the .wxs file:
(...)
<Directory Id='TARGETDIR' Name='SourceDir' >
<Directory Id='SystemFolder' Name='SFolder' >
<Component Id='MainComponent'
Guid='A7C43377-1B6F-4F8D-A7DF-102F9DA568FD' >
<File
Id='cgAppBckgndLib_tlb'
DiskId='1'
LongName='cgAppBckgndLib.tlb'
Name='cgAppBGL.tlb'
Source='cgAppBckgndLib.tlb'
Vital='yes'
KeyPath='yes'
>
<TypeLib
Id='6C0E82C5-A438-48F3-8F4E-E197C6CF5F29' Language='0' />
</File>
</Component>
</Directory>
</Directory>
<Feature Id='Complete' Level='1'>
<ComponentRef Id='MainComponent' />
</Feature>
<Media Id='1' Cabinet='cgAppBckgndLib.cab' EmbedCab='yes'
DiskPrompt='Disc 1' />
<Property Id='DiskPrompt' Value='Test 1.0 Installer [1]' />
<Property Id='ARPNOMODIFY'>1</Property>
<Property Id='ARPNOREPAIR'>1</Property>
</Product>
</Wix>
Any help would be appreciated.
Regards,
S?rgio Sarabando
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users