HenrikNordborg
asked on
How to change custom folder path using its property in Visual Studio Setup project?
I have Visual Studio 2010.
I want to dynamically change the path of the custom folder. When you add a custom folder using File System editor inside Setup there is a Property called Property and the description says:
"Specifies a named property that can be accessed at installation time to override the path of custom folder"
Documentation doesn't say anything about it.
How do I do that?
I want to dynamically change the path of the custom folder. When you add a custom folder using File System editor inside Setup there is a Property called Property and the description says:
"Specifies a named property that can be accessed at installation time to override the path of custom folder"
Documentation doesn't say anything about it.
How do I do that?
ASKER
No. It is called property and it is referred the same on MSDN, but they just say property property, so it's more confusing.
This means that you can specify a property of the installation, in sense of http://msdn.microsoft.com/en-us/library/aa372432%28v=vs.85%29.aspx . Make up your own name, and specify. The point of this is that the value of this Property will be filled somewhere during the installation. For example, this property may be linked to a message box on a dialog. Or it can be the result of system search. So when your installation decides what will be that custom folder, it will have to store its path in that Property.
ASKER
I know what it means, that is not the problem. On the page you specified it says this:
"You can get or set properties from programs and custom actions..."
So it can be set with the custom action, the question is how? What is the right procedure?
"You can get or set properties from programs and custom actions..."
So it can be set with the custom action, the question is how? What is the right procedure?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I've requested that this question be deleted for the following reason:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned and is now flagged for deletion.
If there is a valid solution, please OBJECT and indicate the comments that are, or would otherwise lead to, a solution.
Use the specific format https:#axxxxxxxx for comment ID(s).
Also, please don't object simply because the author did not respond to your comment. While we understand this is frustrating, unfortunately we cannot force the author to return to the question. Unless you feel you have presented a valid, verifiable solution we'll simply delete the question.
Experts-Exchange Auto Deleter
No comment has been added to this question in more than 21 days, so it is now classified as abandoned and is now flagged for deletion.
If there is a valid solution, please OBJECT and indicate the comments that are, or would otherwise lead to, a solution.
Use the specific format https:#axxxxxxxx for comment ID(s).
Also, please don't object simply because the author did not respond to your comment. While we understand this is frustrating, unfortunately we cannot force the author to return to the question. Unless you feel you have presented a valid, verifiable solution we'll simply delete the question.
Experts-Exchange Auto Deleter
The complete answer is in ID: 35344418. Accept ID: 35344418.
Did you happen to leave out the name of the property in the following sentence?
"... there is a Property called Property ..."