VSTO - Return Values from Setup / Installation Process

Viewed 13

I have a very basic question, I have created a VSTO, anyway during the installation, I want to use the information entered by the user to further validate what they have entered to verify who they are. Now I have the code in the correct place, I can stop the installation. What I cannot do is grab the values they entered during the installation / setup process. See the window below.

enter image description here

I just want to use the "Name", "Orgnisation" and "Serial Number" in my code, and I cannot figure out how to do it. I can get a message box to pop up when this window is up, I just need to figure out how to reference these text boxes.

After a bit of digging, I found a few articles about using the CustomActionData proptery on the installer window, and use the PIDKEY option, but this also did not work.

CustomActionData property of Custom Action = / PIDKEY = [PIDKEY]

Then on the install code I have referencing the PIDKEY like so:

msgbox(Context.Parameters("PIDKEY"))

Source 1: Setup Project for Visual Studio

Source 2: https://www.add-in-express.com/forum/read.php?FID=5&TID=15296

0 Answers
Related