I think I still need one, I couldn't find these actions in standard IIS
extension. Currently my custom actions is:
1) AspMaxRequestEntityAllowed and AspAllowSessionState on created
website
2) Enable32bitAppOnWin64 (enables it) on application pools
3) Setting ManagedRuntimeVersion on created application pool

My CA was deferred (not commit) action in the beginning and I made it to
be executed after ConfigureIIs (in Wix 3.5 I changed to be after
ConfigureIIs7), but from log file I can see that website was not created
after ConfigureIIs7 action. Can you please specify name after which IIS
action I should execute mine custom action?


-----Original Message-----
From: Mike Carlson (DEV DIV) [mailto:mica...@microsoft.com] 
Sent: Monday, March 29, 2010 8:59 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to create web app/service on IIS 7 with WiX
3.0

Regarding those errors, you can ignore them. In fact, feel free to file
a bug so we can make those errors appear less scary, because they aren't
really of concern, it just means Wow64 API's aren't available on your
OS.

Regarding the custom action, do you really need one? Can you rely on
standard IIS extension functionality? Introducing your own custom action
is a classic way to drive up installation failure rates, break rollback
support, cause problems during uninstall, etc. If the functionality you
want doesn't exist but it is functionality that makes sense for the
community, a feature request would be nice.

To answer your scheduling question, the real IIS work occurs before
commit, during the install script ("deferred"). The commit CA is just to
delete a file used to rollback state. If you really do need a custom
action, you should run your CA deferred too, but after the IIS custom
action. 

-----Original Message-----
From: Igor Paniushkin [mailto:ipaniush...@sdl.com] 
Sent: Friday, March 26, 2010 8:36 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to create web app/service on IIS 7 with WiX
3.0

Oops. My mistake. I had a typo in my wxs project file. I got successful
installation with website created on both (2008 64bit and 32bit), but on
windows 2008 64 bit I still got some error messages in log file:

StartIIS7ConfigTransaction:  Error 0x80070001: Failed to disable WOW64.
CommitIIS7ConfigTransaction:  Error 0x80070001: Failed to disable WOW64.

But now I have another problem, I had custom action which rely on
created website (doing some modifications to website which is not
supported on iis wix extension) and on sequence it was after
ConfigureIIs custom action, but now as I understood website created in
commit custom action. What is the best approach now to execute my own
custom action? How to schedule it after creation of website?

-----Original Message-----
From: Igor Paniushkin [mailto:ipaniush...@sdl.com] 
Sent: Friday, March 26, 2010 4:15 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to create web app/service on IIS 7 with WiX
3.0

I already tried the same on new build 3.5.1526 and I still can't create
website (tried on Windows 2008 32 bit machine). Next error messages in
log file:

Action start 16:09:59: InstallFinalize.
StartIIS7ConfigTransaction: Error 0x80070001: Failed to disable WOW64.
WriteIIS7ConfigChanges: Error 0x80070002: IIS: site not found for create
VDir
WriteIIS7ConfigChanges: Error 0x80070002: Failed to configure IIS VDir.
WriteIIS7ConfigChanges: Error 0x80070002: WriteIIS7ConfigChanges Failed.
Action ended 16:10:00: InstallFinalize. Return value 3.
RollbackIIS7ConfigTransaction: Error 0x80070001: Failed to disable
WOW64.
Action ended 16:10:00: INSTALL. Return value 3.
Action ended 16:10:00: ExecuteAction. Return value 3.
Action ended 16:10:00: INSTALL. Return value 3.
=== Logging stopped: 3/26/2010 16:10:00 ===
MSI (c) (F8:44) [16:10:00:387]: Product: ConfigureIIs7Test --
Installation
failed.

MSI (c) (F8:44) [16:10:00:402]: Windows Installer installed the product.
Product Name: ConfigureIIs7Test. Product Version: 1.0.0.0. Product
Language: 1033. Installation success or error status: 1603.

-----Original Message-----
From: Igor Paniushkin [mailto:ipaniush...@sdl.com] 
Sent: Friday, March 26, 2010 11:33 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to create web app/service on IIS 7 with WiX
3.0

I added a bug couple of weeks before about the same thing:
http://sourceforge.net/tracker/?func=detail&aid=2961215&group_id=105970&;
atid=642714
Is it the same as yours?

And Mike already fixed it in the latest Wix build which should be
available today.


-----Original Message-----
From: Mike Carlson (DEV DIV) [mailto:mica...@microsoft.com] 
Sent: Thursday, March 25, 2010 8:55 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How to create web app/service on IIS 7 with WiX
3.0

I'd file a bug with the authoring you pasted below, and the answers to
these questions, if possible:

What's the exact error message you get (use a verbose logfile to find
out)?
Does it work correctly if you install to an IIS6 machine?

Thanks,
Mike Carlson

-----Original Message-----
From: Ivo Stoyanov [mailto:ivos...@yahoo.com] 
Sent: Wednesday, March 24, 2010 7:01 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to create web app/service on IIS 7 with WiX 3.0

I spent hours trying to add web feature to my wix project.
Once it failed with wrong web site created - after that all attempts
fail and nothing is being created.
My attempt looks like this

<Component ...
   <File ...
    <iis:WebSite 
      Id="DefaultWebSite" 
      Description="Default Web Site"
      Directory="WebApplicationFolder"
      >
      <iis:WebAddress Id="WebAddress" Port="80" Header="localhost"/>
      <iis:WebVirtualDir Id="LoggingService"
                         Alias="LoggingService"
                         Directory="LogServiceWebSvc"
                         >
        <iis:WebApplication Id="LogService" Name="LogService" />
      </iis:WebVirtualDir>
    </iis:WebSite>

Can somebody share working snippet?

I am using latest 3.5 on IIS 7.5
------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
</pre>
<BR style="font-size:4px;">
<a href = "http://www.sdl.com";><img src="http://www.sdl.com/images/email
logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a>
<BR>
<font face="arial"  size="2" "><a href = "http://www.sdl.com";
style="color:005740; font-weight: bold">www.sdl.com</a>
<BR>
<BR>
<font face="arial"  size="1" color="#736F6E">
<b>SDL PLC confidential, all rights reserved.</b>
If you are not the intended recipient of this mail SDL requests and
requires that you delete it without acting upon or copying any of its
contents, and we further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire
SL6 7DY, UK.
</font>



------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to