UI support (in IA) for multiple targetdirs

Got a problem you cannot solve? Try here.
Post Reply
scotteb
Posts: 17
Joined: Tue Aug 17, 2010 3:35 pm

UI support (in IA) for multiple targetdirs

Post by scotteb »

I have an IA12 script that installs program executables and data into separate folders (defaults, without user selection). Some clients wanted to control the locations, so I added a DataDir variable in the MSI ini and modified the Destination dialog to allow selecting both TargetDir and DataDir. So far, so good. But when I get to Setup Architecture: Files, I am stumped. How do I get $DATADIR$ to show up in the list of target folders?

Best,
Scott
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: UI support (in IA) for multiple targetdirs

Post by FrancescoT »

Dear User,

just add a script code line to call "Install Files" then use your DATADIR for target foleder (using var as $DATADIR$).

Then go to: Setup Architecture: Files ->list of target folders ... and your DATADIR folder will be in the list.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
scotteb
Posts: 17
Joined: Tue Aug 17, 2010 3:35 pm

Re: UI support (in IA) for multiple targetdirs

Post by scotteb »

Thanks. I seem to forget there is a script view.

Scott
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: UI support (in IA) for multiple targetdirs

Post by FrancescoT »

Do not worry! :D
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply