[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.setup

Repair removes registry value

Jonathan Chapman

3/21/2006 5:59:00 PM

Hi,
I have a registry key that is poopulated with a textbox property from
the installer. When I do a repair the registry key remains but the value is
set to blank. How do I have the installer remember the value that was
entered during the install?

Thanks,
Jonathan


2 Answers

Phil Wilson

3/22/2006 3:33:00 PM

0

Try addng a Search Target Machine to set the property value - that gets
called when the installation launches, repair or normal. In the original
installl it won't be there (or the user will change the value if it is) and
in the repair case it will restore the value it got from the search.
--
Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.ht...

"Jonathan Chapman" <jonathan_chapman@apexsi.com> wrote in message
news:uxssEERTGHA.5264@TK2MSFTNGP10.phx.gbl...
> Hi,
> I have a registry key that is poopulated with a textbox property from
> the installer. When I do a repair the registry key remains but the value
> is
> set to blank. How do I have the installer remember the value that was
> entered during the install?
>
> Thanks,
> Jonathan
>
>


Jonathan Chapman

3/22/2006 7:51:00 PM

0

Thanks,
That worked when I assigned my search condition variable as the default
value of my textbox.
"Phil Wilson" <pdjwilson@nospam.cox.net> wrote in message
news:%23sphxTcTGHA.4384@tk2msftngp13.phx.gbl...
> Try addng a Search Target Machine to set the property value - that gets
> called when the installation launches, repair or normal. In the original
> installl it won't be there (or the user will change the value if it is)
and
> in the repair case it will restore the value it got from the search.
> --
> Phil Wilson
> [Microsoft MVP-Windows Installer]
> Definitive Guide to Windows Installer
> http://apress.com/book/bookDisplay.ht...
>
> "Jonathan Chapman" <jonathan_chapman@apexsi.com> wrote in message
> news:uxssEERTGHA.5264@TK2MSFTNGP10.phx.gbl...
> > Hi,
> > I have a registry key that is poopulated with a textbox property from
> > the installer. When I do a repair the registry key remains but the
value
> > is
> > set to blank. How do I have the installer remember the value that was
> > entered during the install?
> >
> > Thanks,
> > Jonathan
> >
> >
>
>