Elsehemy Junior on .Net

All about dotNet
posts - 5, comments - 0, trackbacks - 0

My Links

News

This blog would be a continuation of my former blogCheck it out

Locations of visitors to this page
Amr Elsehemy's Facebook profile
hit counters

Twitter












Archives

Post Categories

Articles

Currently Reading

WiXing Around

While having my first steps towards learning WiX v.3, The first step was to read some of the tutorials over here, then after downloading the samples I started exploring them to learn more. In my very first sample (named SampleWebDir) almost the simplest one although I had some troubles because the samples were built using the WiX v2 while I am trying to build it using v3. Simple changes had to be done inorder to make it built:
  1. Change the Wix Schema from
    xmlns='http://schemas.microsoft.com/wix/2003/01/wi'
    to xmlns='http://schemas.microsoft.com/wix/2006/wi'
  2. Add Reference to the WixIIsExtension dll
  3. Now inlcude the IIS namespace within the wxs file to be as :
    <wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension">
  4. Prefix the web elements with the iis: to be like this
    <iis:WebVirtualDir>
    <iis:WebApplication>
    <iis:WebSite>
    <iis:WebAddress>
  5. To remove warnings:
    • Add an Upgrade Code to the Product element
    • Remove the LongName key/value in the File Element is now depreacted.
    • Remove the Package Id is has been deprecated.
  6. To remove all the localization errors put assigned a culture to the project (right click the project node)>>(Properties)>>(Linker tab)>>(put the Culture as: en-US)for example.
Note:The steps up there are when using votive on visual studio and were tested on windows vista running iis7.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted on Thursday, July 26, 2007 1:24 PM |

Powered by: