How to set physical path of a Web site to the path edit control

Having trouble running Advanced Installer? Got a bug to report? Post it all here.
raghu.00a@gmail.com
Posts: 27
Joined: Tue May 10, 2016 11:18 am

How to set physical path of a Web site to the path edit control

Postby raghu.00a@gmail.com » Mon Nov 06, 2017 6:26 am

Hi

I need to get the physical path of the iis web site from web site browse combo box.
when web site selection changed, set the physical path of website to the PathEdit control( for browsing directory).

Please help!!

Raghu

Dan
Posts: 4332
Joined: Wed Apr 24, 2013 3:51 pm

Re: How to set physical path of a Web site to the path edit control

Postby Dan » Mon Nov 06, 2017 2:44 pm

Hello Raghu,

Here is a video tutorial in order to set up your Website Browse. In your case you will use the Combobox to store the values instead of the Listbox.

Once you have finished the initial setup go to the ISS page and click on the Web Site Browser you created. In "Data Output" add a property with the following Binding Type: Physical Path. Now go to the dialog that contains your combobox and on the Next button add the following Published Event.

    Control Event: Set installer property value
    Property:APPDIR
    Argument:The property you set to store the Physical Path
    Condition: 1
Now you should have the installation path set to the physical path of the web site.

Best regards,
Dan
Attachments
Path Edit.rar
(3.32 KiB) Downloaded 7 times
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

raghu.00a@gmail.com
Posts: 27
Joined: Tue May 10, 2016 11:18 am

Re: How to set physical path of a Web site to the path edit control

Postby raghu.00a@gmail.com » Fri Nov 10, 2017 11:30 am

Hi,

You are saying that physical path can be set on next button click But,
I want to set the physical path to control immediately when the combo box item (web site) is changed by user. Is it possible to do?


I have adv installer with version 14.3, please give me sample created on version 14.3


Regards
Raghu

Daniel
Posts: 6535
Joined: Mon Apr 02, 2012 1:11 pm
Contact:

Re: How to set physical path of a Web site to the path edit control

Postby Daniel » Thu Nov 23, 2017 1:13 pm

Hello Raghu,

We apologize for the delayed reply.

Please find attached a sample created with AI 14.3.
sample.aip
(17.19 KiB) Not downloaded yet

Unfortunately we do not have built in support so the physical path be extracted just when you select the web site item in the combo box. The path will be extracted always when clicking on [Next>] button. Can you please give us more details why do you need the path be extracted just right away after selecting the item in combo box?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube


Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 1 guest