Hello,
I have created a setup program using WIX 3.7. I need the setup to create a
registry key under HKLM on install and delete it upon uninstall.
I have used the following code:
<Component Id="SC5RegistryKeys"
Guid="C9DCA66D-AFD0-4F0D-8A84-CD1B19611A17" Win64="no">
<RegistryKey Root="HKLM" Key="Software\[Manufacturer]\[ProductName]"
ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes">
<RegistryValue Name="LicenseInfo" Type="binary" KeyPath="yes"
Value=""/>
<RegistryValue Name="SerialNumber" Type="string" Value=""/>
</RegistryKey>
</Component>
<ComponentRef Id="SC5RegistryKeys" />
The registry key "HKLM\ Software\[Manufacturer]\[ProductName]" is created on
install but it is not deleted on uninstall. Why is this happening?
I'm running my setup program on a Windows 7 x64 machine, with UAC activated,
and under an local administrators account.
Thank you.
Cosmin Petrenciuc
________________________________
The content of this communication is classified as STAR STORAGE Confidential
and Proprietary Information.The content of this communication is intended
solely for the use of the individual or entity to whom it is addressed and
others authorized to receive it. If you are not the intended recipient you are
hereby notified that any disclosure, copying, distribution or taking any action
in reliance on the contents of this information is strictly prohibited and may
be unlawful. If you have received this communication in error, please notify us
immediately by responding to this communication then delete it from your
system. We appreciate your assistance in preserving the confidentiality of our
correspondence. Thank you.
Prezentul mesaj constituie o Informatie confidentiala si este proprietatea
exclusiva a STAR STORAGE . Mesajul se adreseaza numai persoanei fizice sau
juridice mentionata ca destinatara, precum si altor persoane autorizate sa-l
primeasca. In cazul in care nu sunteti destinatarul vizat, va aducem la
cunostinta ca dezvaluirea, copierea, distribuirea sau initierea unor actiuni pe
baza prezentei informatii sunt strict interzise si atrag raspunderea civila si
penala. Daca ati primit acest mesaj dintr-o eroare, va rugam sa ne anuntati
imediat, ca raspuns la mesajul de fata, si sa-l stergeti apoi din sistemul dvs.
Apreciem si va multumim pentru sprijinul acordat in pastrarea
confidentialitatii corespondentei noastre.
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users