How to use Find Results and create Variables based on that?

Got a problem you cannot solve? Try here.
livechatpro
Posts: 1
Joined: Fri Dec 11, 2015 4:20 pm

How to use Find Results and create Variables based on that?

Postby livechatpro » Fri Dec 11, 2015 4:32 pm

How can I find the default path used by IIS on a Windows 2008/2012 Sever, and then create a variable based on the result containing the path? This variable could be used later in the installation steps.

Example: find the default path used by IIS7; a possible result would be = d:\inetpub\wwwroot. This would be Result1
Create a variable based on the result above (Ex.: d:\inetpub\wwwroot) | Result1=Variable1
Variable1 = 'd:\inetpub\wwwroot'

then I could use the variable to move files:

Move Local Files Variable1\FolderName to Variable1\MovedFolderName

Any help will be appreciated.

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

Re: How to use Find Results and create Variables based on th

Postby FrancescoT » Mon Dec 14, 2015 11:05 am

Dear Livechatpro,

in reality such variable should be already available. You can check for its presence within the File page of your project (Design view).
WWWROOTDIR.png
WWWROOTDIR.png (13.53 KiB) Viewed 2562 times

Anyway if it's not, in the File page right click the "Target Folders" node then; Add System Folder -> WWW->WWWRoot.

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 142 guests