UI support (in IA) for multiple targetdirs

Got a problem you cannot solve? Try here.

UI support (in IA) for multiple targetdirs

Postby scotteb » Mon Apr 02, 2012 2:35 pm

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
scotteb
 
Posts: 14
Joined: Tue Aug 17, 2010 3:35 pm

Re: UI support (in IA) for multiple targetdirs

Postby FrancescoT » Tue Apr 03, 2012 8:06 am

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 Support

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
FrancescoT
Site Admin
 
Posts: 1897
Joined: Sun Aug 22, 2010 4:28 am

Re: UI support (in IA) for multiple targetdirs

Postby scotteb » Tue Apr 03, 2012 8:43 am

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

Scott
scotteb
 
Posts: 14
Joined: Tue Aug 17, 2010 3:35 pm

Re: UI support (in IA) for multiple targetdirs

Postby FrancescoT » Tue Apr 03, 2012 8:53 am

Do not worry! :D
Francesco Toscano
InstallAware Software Support

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
FrancescoT
Site Admin
 
Posts: 1897
Joined: Sun Aug 22, 2010 4:28 am


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 8 guests