Groups | Blog | Home
all groups > visual studio .net setup > september 2007 >

visual studio .net setup : using custom folder for a custom action argumnet ?


Sharon
9/6/2007 5:06:01 AM
I'm using the VS2005 setup project.

In the 'File System' I have added a custom folder named 'Matlab Runtime' and
set its DefaultLoation to '[ProgramFilesFolder]\MatlabRuntime'.

I wish to use this folder as an argument to a custom action. the custom
action is to execute en exe file that takes the above folder path as an
argument.
I tried to put the custom folder name as 'Matlab Runtime' or '[Matlab
Runtime]' or "Matlab Runtime"
but non of them works.

How can I use the custom folder as an argument to a custom action as I
described in here?


--
Thanks
Phil Wilson
9/6/2007 10:34:38 AM
It's properties again - you need to get a handle on how important properties
are. Your custom folder will have a property value (NEWPROPERTY1 is the
default). So pass [NEWPROPERTY1] or whatever it's called via the Arguments
property to your exe, case-sensitive and with the brackets.
--
Phil Wilson
[MVP Windows Installer]


[quoted text, click to view]

AddThis Social Bookmark Button