Hi all,
I have developed a web application using VS2005 which is
running fine .I packaged the application(named Product.msi) using
wix2.0.5325.0 .
I want to create the shortcut of the web application on the Desktop and
on the Start menu from the iis, but the following code only creates a
aspx file which on opening opens the code of it,Not the executable
version.
<Directory Id="TARGETDIR" Name="SourceDir" FileSource="c:\" >
<Directory Id="IISMain" Name="Inetpub" FileSource="C:\\">
<Directory Id="WWWMain" Name="wwwroot">
<Directory Id="INSTALLLOCATION" Name="HotReser"
LongName="HotelReservation">
<Component Id="MainComponent"
Guid="E4BEFA15-3A83-4139-B9D7-5C0A23AD2B6D">
<File Id="hotel.aspxpage" Name="hotel.asp"
LongName="hotel.aspx" DiskId="1" Source="../hotel.aspx" Vital="yes">
<Shortcut Id="DesktopShrtcut"
Directory="DesktopFolder"
Name="hotel.asp"
LongName="HotelReservation" WorkingDirectory="INSTALLLOCATION" />
<Shortcut Id="StartMenuShrtcut"
Directory="ProgramMenuDir"
Name="hotel.asp"
LongName="HotelReservation" WorkingDirectory="INSTALLLOCATION"/>
</File>
<File Id="Config" Name="CnfgFile" DiskId="1"
Source="../web.config" Vital="yes"/>
<File Id="cs" Name="codefile"
LongName="hotel.aspx.cs" DiskId="1" Source="../hotel.aspx.cs"
Vital="yes"/>
<RemoveFile Id='RemFile' On='uninstall'
Name='*.*' />
<RemoveFolder Id='RemFol' On='uninstall'/>
</Component>
</Directory>
</Directory>
<Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="ProgramMenuDir" Name="Hotel"
LongName="Hotel Reservation" />
</Directory>
<Directory Id="DesktopFolder" Name="Desktop" />
</Directory>
<Component Id='TestWebVirtualDirComponent'
Guid='01C4D79E-54F0-4e5c-8376-F57A9393BB1A'>
<WebVirtualDir Id='TestWebVirtualDir' Alias='Hotela'
Directory='INSTALLLOCATION' WebSite='DefaultWebSite'>
<WebApplication Id='DeployWebApplication'
Name='Hotel'/>
</WebVirtualDir>
</Component>
</Directory>
<WebSite Id='DefaultWebSite' Description='Default Web Site'>
<WebAddress Id='AllUnassigned' Port='80' />
</WebSite>
<Feature Id="ProductFeature" Title="Feature Title" Level="1">
<ComponentRef Id="MainComponent" />
<ComponentRef Id="TestWebVirtualDirComponent"/>
</Feature>
Please Help Out.
Regards,
Chandan Koushik
Ph- 0091-9908512275
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users