Re: [WiX-users] Changing a registry key

2009-01-16 Thread Nord, James
OK that is the case, but then I need to set a completely bogus keypath
and I can't see how I can actually do that.

I tried pointing it to a registry key that is deleted on install but wix
fails to compile the msi.



 -Original Message-
 From: Rob Mensching
 Sent: 01 December 2008 16:59
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Changing a registry key
 
 Read about how the KeyPath affects the Component install 
 state.  If you look in a verbose log file, I expect you'll 
 see your Componentisn't getting installed a second time 
 because the Component thinks it is already installed.
 
 -Original Message-
 From: Nord, James
 Sent: Monday, December 01, 2008 02:58
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Changing a registry key
 
 Hi all,
 
 as part of my install I have a custom dialog that sets a 
 value.  I need to keep this value after the product is 
 uninstalled or changed so that subsequent installs can pick 
 up the previous settings.
 
 I currently have the following:
 Component Id=InstallRegistry Guid=xxx Permanent=yes 
 RegistryKey Root=HKCU Key=Software\myco\myprod 
 Action=create RegistryValue Type=string Name=key1 
 Value=[PROXY_URL]
 Action=write/
 RegistryValue Type=string Name=key2 Value=[PROXY_URL_CUSTOM]
 Action=write/
 /RegistryKey
 
 inside the install directory section and reference it in the feature.
 
 This works as on a uninstall the key does not get removed but 
 subsequent installs or changes to the current install do not 
 update the registry with the new values from the variables.
 
 How can I acheive this?
 
 Regards,
 
 /James
 
 

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Changing a registry key

2008-12-01 Thread Nord, James
 Hi all,
  
 as part of my install I have a custom dialog that sets a 
 value.  I need to keep this value after the product is 
 uninstalled or changed so that subsequent installs can pick 
 up the previous settings.
  
 I currently have the following:
 Component Id=InstallRegistry Guid=xxx Permanent=yes 
 RegistryKey Root=HKCU Key=Software\myco\myprod 
 Action=create RegistryValue Type=string Name=key1 
 Value=[PROXY_URL]
 Action=write/
 RegistryValue Type=string Name=key2 Value=[PROXY_URL_CUSTOM]
 Action=write/
 /RegistryKey
 
 inside the install directory section and reference it in the feature.
 
 This works as on a uninstall the key gets removed but 
 subsequent installs or changes to the current install do not 
 update the registry
 with the new values from the variables.   

Obviously I meant to say on uninstall the gey remains but...

 
 How can I acheive this?
 
 Regards,
 
 /James
 

*
This e-mail is confidential, the property of NDS Ltd and intended for the 
addressee only.  Any dissemination, copying or distribution of this message or 
any attachments by anyone other than the intended recipient is strictly 
prohibited.  If you have received this message in error, please immediately 
notify the [EMAIL PROTECTED] and destroy the original message.  Messages sent 
to and from NDS may be monitored.  NDS cannot guarantee any message delivery 
method is secure or error-free.  Information could be intercepted, corrupted, 
lost, destroyed, arrive late or incomplete, or contain viruses.  We do not 
accept responsibility for any errors or omissions in this message and/or 
attachment that arise as a result of transmission.  You should carry out your 
own virus checks before opening any attachment.  Any views or opinions 
presented are solely those of the author and do not necessarily represent those 
of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West 
Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England 
and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Changing a registry key

2008-12-01 Thread Nord, James
Hi all,
 
as part of my install I have a custom dialog that sets a value.  I need
to keep this value after the product is uninstalled or changed so that
subsequent installs can pick up the previous settings.
 
I currently have the following:
Component Id=InstallRegistry Guid=xxx Permanent=yes
RegistryKey Root=HKCU Key=Software\myco\myprod Action=create
RegistryValue Type=string Name=key1 Value=[PROXY_URL]
Action=write/
RegistryValue Type=string Name=key2 Value=[PROXY_URL_CUSTOM]
Action=write/
/RegistryKey

inside the install directory section and reference it in the feature.

This works as on a uninstall the key gets removed but subsequent
installs or changes to the current install do not update the registry
with the new values from the variables.   

How can I acheive this?

Regards,

/James


*
This e-mail is confidential, the property of NDS Ltd and intended for the 
addressee only.  Any dissemination, copying or distribution of this message or 
any attachments by anyone other than the intended recipient is strictly 
prohibited.  If you have received this message in error, please immediately 
notify the [EMAIL PROTECTED] and destroy the original message.  Messages sent 
to and from NDS may be monitored.  NDS cannot guarantee any message delivery 
method is secure or error-free.  Information could be intercepted, corrupted, 
lost, destroyed, arrive late or incomplete, or contain viruses.  We do not 
accept responsibility for any errors or omissions in this message and/or 
attachment that arise as a result of transmission.  You should carry out your 
own virus checks before opening any attachment.  Any views or opinions 
presented are solely those of the author and do not necessarily represent those 
of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West 
Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England 
and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Changing a registry key

2008-12-01 Thread Rob Mensching
Read about how the KeyPath affects the Component install state.  If you look in 
a verbose log file, I expect you'll see your Componentisn't getting installed a 
second time because the Component thinks it is already installed.

-Original Message-
From: Nord, James [mailto:[EMAIL PROTECTED]
Sent: Monday, December 01, 2008 02:58
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Changing a registry key

Hi all,

as part of my install I have a custom dialog that sets a value.  I need
to keep this value after the product is uninstalled or changed so that
subsequent installs can pick up the previous settings.

I currently have the following:
Component Id=InstallRegistry Guid=xxx Permanent=yes
RegistryKey Root=HKCU Key=Software\myco\myprod Action=create
RegistryValue Type=string Name=key1 Value=[PROXY_URL]
Action=write/
RegistryValue Type=string Name=key2 Value=[PROXY_URL_CUSTOM]
Action=write/
/RegistryKey

inside the install directory section and reference it in the feature.

This works as on a uninstall the key gets removed but subsequent
installs or changes to the current install do not update the registry
with the new values from the variables.

How can I acheive this?

Regards,

/James


*
This e-mail is confidential, the property of NDS Ltd and intended for the 
addressee only.  Any dissemination, copying or distribution of this message or 
any attachments by anyone other than the intended recipient is strictly 
prohibited.  If you have received this message in error, please immediately 
notify the [EMAIL PROTECTED] and destroy the original message.  Messages sent 
to and from NDS may be monitored.  NDS cannot guarantee any message delivery 
method is secure or error-free.  Information could be intercepted, corrupted, 
lost, destroyed, arrive late or incomplete, or contain viruses.  We do not 
accept responsibility for any errors or omissions in this message and/or 
attachment that arise as a result of transmission.  You should carry out your 
own virus checks before opening any attachment.  Any views or opinions 
presented are solely those of the author and do not necessarily represent those 
of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West 
Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England 
and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users