Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Thu, 18 Sep 2008 05:48:01 -0700,    group: microsoft.public.vstudio.development        back       


Windows Installer -- How do I get value from TextBox into Registry   
I'm sorry if this is the wrong group to ask this question in, but I'm 
stumped.   

In the MSDN documentation  "Deployment In Visual Studio 2005", it says the 
following in the "Text Boxes User Interface Deployment" instructions....

"In the registry, you would set the Condition property for the workgroup 
name registry entry to the value of the Edit1Property property.

This does NOT work!  I put the Edit1Property name (in my case EDITA) in the 
Condition box of the Registry entry that I want to set with the value of what 
the user typed into the Text Box and, after running the Setup program, 
nothing appears in the Registry. 

So, my question is...  How do I take the value of something that a user 
typed into a Text Box and put it into the Registry?  What "Condition" 
statement do I use?

Thanks!
date: Thu, 18 Sep 2008 05:48:01 -0700   author:   Fred E

Re: Windows Installer -- How do I get value from TextBox into Registry   
The condition is an expression that is about whether the registry entry 
should be created or not. You'll probably kick yourself, but you put the 
value in the Name/Value pane in the registry view in the IDE. Pick your 
name, then put [EDITA] as the value.

-- 
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972


"Fred E"  wrote in message 
news:072FF797-EF9A-48D6-8613-21A16F5D7B9A@microsoft.com...
> I'm sorry if this is the wrong group to ask this question in, but I'm
> stumped.
>
> In the MSDN documentation  "Deployment In Visual Studio 2005", it says the
> following in the "Text Boxes User Interface Deployment" instructions....
>
> "In the registry, you would set the Condition property for the workgroup
> name registry entry to the value of the Edit1Property property.
>
> This does NOT work!  I put the Edit1Property name (in my case EDITA) in 
> the
> Condition box of the Registry entry that I want to set with the value of 
> what
> the user typed into the Text Box and, after running the Setup program,
> nothing appears in the Registry.
>
> So, my question is...  How do I take the value of something that a user
> typed into a Text Box and put it into the Registry?  What "Condition"
> statement do I use?
>
> Thanks!
>
>
>
>
date: Thu, 18 Sep 2008 17:03:34 -0700   author:   Phil Wilson

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us