cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to install a file in a directory, which is specified in a public property?

I am using InstallShield AdminStudio – Professional version 6.0.
And I want to install a file in a directory, which is specified in a public property?

E.g. I want to install the file: File_x in a directory, that is specified in the public property, in this case the value: C:\Winnt\Company\Depertment\File_x is specified.

Can anybody point me in the right direction to solve this?


Any help appreciated!
Value

IIS.DTD
(2) Replies
Using the editor you would have to set the destination of the component containing that file to a DIRECTORY IDENTIFIER that has the same name as your public property. In the setup design view, the Destination attribute for the component will let you create a directiry identifier. At runtime, whatever mechanism sets your public property will override the default destination of the directory identifer.

Hope that helps
A quick search in the forums found this ancient thread which discusses one approach to set component destination at runtime in a Basic MSI project. If it doesn't completely answer your question, there are several KB articles available on this topic, e.g., Q105989. Please look up component destination at Support.