/build/static/layout/Breadcrumb_cap_w.png

how to put component or feature path into ini file

Hello,

I'm creating MSI installation and I have two features, lets call them App and Data. Data feature installs by default into App folder, but I want to let user install Data feature somewhere else (e.g. on the Data disk), so I allowed the folder change for Data feature. Data feature consists of just on component, call it CData.

But - for my app running I need to specify where the Data feature is installed in *.ini file, so my app can find it. So in ini file i need something like:

[App]
Data=DataFolder

where DataFolder would translate (in the installation process) into path where Data feature or CData component (either one is OK).

I am not able to make it. Any help? Thx

0 Comments   [ + ] Show comments

Answers (3)

Posted by: brenthunter2005 19 years ago
Fifth Degree Brown Belt
0
[8D]

This post is a bit old, but I'll reply anyway. Within your INI file, you need to enter in the following:

[App]
Data=[$CData]

The '$' is the directory where the CData component will be installed. Hope this helps.

[8D] Keep cool. [8D]
Posted by: totoymola 19 years ago
Orange Belt
0
How do you make an msi that uses an in file?
Posted by: brenthunter2005 19 years ago
Fifth Degree Brown Belt
0
[8D]

Use the INIFile table.

!!!

[8D]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ