all groups > dotnet setup > august 2005 >
You're in the

dotnet setup

group:

how to pass setup wizard params to custom actions


how to pass setup wizard params to custom actions fdecarlo NO[at]SPAM media.it
8/25/2005 12:00:00 AM
dotnet setup: Hi.

I need to access, from inside a custom action, the values of the two radio
button called "just me" and "everyone" visible on the
"Installation Folder User Interface Dialog Box" (the form visible here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsintro7/html/vxconInstallationFolderUserInterfaceDialogBox.asp).
Doing so, I'll be able to modify consequently the path where to install a
..url file that redirects to my web site.
I know that Windows Installer has a property called ALLUSERS that I tried to
use as a CustomActionData parameter, but it seems not to be the right way
(passing it to the custom action as /everyone=[ALLUSER]).
Can you help me?
Thanks a lot

--
Francesco

Re: how to pass setup wizard params to custom actions Phil Wilson
8/25/2005 5:30:30 PM
That should work, although you've spelt it wrong so that might be the
problem. You need CustomActionData:
/everyone=[ALLUSERS] and you'll get either 1 or 2. I just tried this with an
Installer class and it works fine.
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

AddThis Social Bookmark Button