Groups | Blog | Home
all groups > visual studio .net general > march 2006 >

visual studio .net general : Retrieving User Input during Installation


Allen Feris
3/31/2006 12:08:02 PM
I have an app that I want to deploy using the deployment mechanism provided
by VS.Net 2003.
I've created a user interface and added to the routine. 3 fields are
available for user input: two fields have the user set where certain files
are place and the third field has the user input in the name of the sql
server. These three values are then stored within the registry.
In the registry editor, I've set up the appropriate registry settings, but
cannot get the install program to place what the user specifies from the
input form into the appropriate registry settings.
The registry setting properties are something like this:
Condition: EDITA1
Transitive: False
Value: blank

No matter what the user inputs in the fields during installation, that value
is not stored within the registry. I know I'm missing something probably
very simple here but can't determine it.

Can anyone enlighten me?

Allen Feris
Phil Wilson
4/3/2006 11:18:02 AM
Depends where you want to use it, but to store it in the registry you'd
create a registry item and give it the value [EDITA1] and to use it in a
custom action you'd pass [EDITA1] into the custom action via
CustomActionData.
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

AddThis Social Bookmark Button