IIS 7 Convert to application question

Got a problem you cannot solve? Try here.
tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

IIS 7 Convert to application question

Postby tzachk » Tue Jan 15, 2013 9:50 am

Hi Support,

I'm trying to create an installer for our management UI.
Our management UI is a web application.
The directory tree that we create is as follows:
- Manage
- UIMain (Application)
- UIWebService (Application)

The Manage is a plain Virtual folder, but both UiMain and UIWebService I need to convert to Applications. I'm able to generate Appllication Pools entries for both, but for some reason can't convert them to applications.
Below are the commands I'm using:

~InstallAware Clipboard Data~
~Run Program~
~{BB7AA930-616E-428E-8859-D5E05D5AE236}~
~$WINDIR$\system32\inetsrv\appcmd.exe~
~TRUE~
~set apppool UIMain /processModel.identityType:NetworkService~
~TRUE~
~~


And



~InstallAware Clipboard Data~
~Create Virtual Folder~
~{D9F7D4E1-E989-4030-BDA7-A0890DDA1611}~
~UIMain~
~$TARGETDIR$\manage\UIMain~
~FALSE~
~TRUE~
~FALSE~
~FALSE~
~TRUE~
~TRUE~
~2|UIMain~
~1|2~
~TRUE~
~Default.aspx,Default.htm,Default.asp,index.htm~
~~
~TRUE~
~TRUE~
~FALSE~
~~
~$TARGETWEBSITEINDEX$~


Where $TARGETWEBSITEINDEX$ is the target web site index.
Any ideas how to achieve this?

Regards,
T.

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

Re: IIS 7 Convert to application question

Postby FrancescoT » Wed Jan 16, 2013 9:40 am

Dear Tzachk,

Please excuse me, but I'm not quite sure what you really mean with;
"I'm able to generate Appllication Pools entries for both, but for some reason can't convert them to applications"

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

tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: IIS 7 Convert to application question

Postby tzachk » Sun Feb 17, 2013 5:42 am

Hi Francesco,

I'm using the IIS 7 lingo for Convert. IIS menu uses "Convert to Application" tp perform the operation of swicthing a virtual folder to application.

The directory tree should like this:

- Manage
- UIMain (Application)
- UIWebService (Application)


Regards,
Tzach.

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

Re: IIS 7 Convert to application question

Postby FrancescoT » Mon Feb 18, 2013 1:27 pm

Dear Tzach,

If you have a look at the "ISS website & Folder" sample you should be able to do exactly that.

With "Create IIS Virtual Folder" command you can specify the path of the virtual folder as it will appear underneath the IIS website (Virtual Path parameter).
Then with the "Create or Use Pool" command parameter, you can enter the name of the Application pool to be created (Unless Do Not Create Application is specified in the Application Protection field).

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 120 guests