Re: [WiX-users] Adding records to MSI on the fly

2007-02-09 Thread carlldev

To get the installation to work you will need to specify the port aswell.
To do this use a property:

WebSite Id=DefaultWebSite Description=[TARGETWEBCOMBO] 
WebAddress Id=AllUnassigned Port=[TARGETWEBPORT] /
/WebSite

To get the port of the selected site should be easy when you use this:

'===
' This function populates the MSI properties of the specified website
'===
Function PopulateMSIWebSiteProperties()
Dim oIIS, oSite, r
' allow errors
On Error Resume Next
' instanciate the IIS object
Set oIIS = GetObject(IIS://localhost/W3SVC)
' check if an error occurred: if an error occurs pass the error number
back to setup
If Err.Number  0 Then
MsgBox Unable to open IIS W3SVC Root object - please ensure that
IIS is running  vbCrLf  _
 - Error Details:   Err.Description   [Number: 
Hex(Err.Number)  ], vbCritical, Error
PopulateMSIWebSiteProperties = ERROR_INSTALL_FAILURE
Exit Function
Else
' iterate through the sites
For Each oSite in oIIS
If oSite.Class = IIsWebServer Then
' if the description is the same as the specified
description, get the details
if oSite.ServerComment =
Session.Property(TARGETWEBCOMBO)then
'get the properties of the site
For Each item in oSite.ServerBindings
strServerBinding = item
BindingArray = Split(strServerBinding, :, -1, 1)
Session.Property(TARGETWEBPORT) = BindingArray(1)
' only do it for the first serverbinding (there may
be more than 1)
Exit For
Next
End If
End If
Next
'return success to MSI
PopulateMSIWebSiteProperties = ERROR_SUCCESS
End If
'clean up
Set oIIS = Nothing
End Function




Matthew Rowan wrote:
 
 I am trying to allow users to select which WebSite they wish to install a
 virtual directory under. I have used the method describe here which gives
 me
 the list however the virtual directory is still installed under the
 default
 web site since the port of the Web Address is the same. This is my
 declaration of the web site as is stated in the WiX help.
 
 Nesting WebSite under Product, Fragment, or Module results in a web site
 locator record being created in the IIsWebSite table. This means that
 the
 web site itself is neither installed nor uninstalled by the MSI package.
 It
 does make the database available for referencing from a WebApplication,
 WebVirtualDir or WebDir record. This allows an MSI to install
 WebApplications, WebVirtualDirs or WebDirs to already existing web sites
 on
 the machine. The install will fail if the web site does not exist in these
 cases.
 
 WebSite Id=DefaultWebSite Description=[TARGETWEBCOMBO] 
 WebAddress Id=AllUnassigned Port=80 /
 /WebSite
 
 and under a component I reference this Web Site
 
 WebVirtualDir Id=VirtualDir Alias=[P_IIS_VIRTUALDIRECTORY]
 Directory=DirWeb WebSite=DefaultWebSite
 WebApplication Id=WebApp Name=[P_IIS_VIRTUALDIRECTORY]
 /WebApplication
 /WebVirtualDir
 
 
 Any help on what I need to do would be greatly appreciated.
 
 Regards,
 
 -Matthew Rowan
 
 On 2/2/07, carlldev [EMAIL PROTECTED] wrote:


 I found an article somewhere that states that the values in the tables
 that
 were there when the MSI started cannot be removed or updated.
 Removing the Listitem from the Combobox also didn't work because that
 dropped the whole table all together as there are no other comboboxes.

 So I figured out 2 ways of doing it:
 1. Orca
 By editing the MSI with Orca I was able to remove the offending value
 from
 the Combobox table.
 2. This causes an ICE17 warning but it still compiles
 I removed the combobox Listitems from the combobox I want to populate and
 created a separate combobox with width and height = 0 (to make it
 invisible). I gave this dummy combobox 1 Listitem to force the creation
 of
 the  Combobox table.

 I also tried doing a create table query to get create the required
 Combobox
 table but can't get it to work The query looks like this:
 CREATE TABLE `ComboBox` (`Property` CHARACTER(72) NOT NULL, `Order` SHORT
 NOT NULL, `Value` CHARACTER(64) NOT NULL, `Text` CHARACTER(64)
 LOCALIZABLE)
 PRIMARY KEY `Property`, `Order` TEMPORARY

 if anyone know how to solve this let me know, if only to get the ICE17
 warnings to go away.
 --
 View this message in context:
 http://www.nabble.com/Adding-records-to-MSI-on-the-fly-tf3150241.html#a8749870
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated 

[WiX-users] When is WIX V3 declared stable?

2007-02-09 Thread Traits Zhang

Hi All,

When is WIX V3 declared stable?
Feb, Mar or ...?

Thanks

Traits
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] When is WIX V3 declared stable?

2007-02-09 Thread Rob Mensching
Depends what you mean exactly by stable.

Do you mean 1. No more major changes, just some bug fixes remaining or 2. 
Done, no more changes expected.?

1.  Probably more towards October 2007.
2.  Probably more towards June 2008.


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Traits Zhang
Sent: Friday, February 09, 2007 1:02 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] When is WIX V3 declared stable?

Hi All,

When is WIX V3 declared stable?
Feb, Mar or ...?

Thanks

Traits

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Event Logging from an Installer

2007-02-09 Thread Vidhya Sagar Bhogavalli (Infosys Technologies Ltd)
HI all,

I've created a windows installer using WIX. When the installer fails, it throws 
an Information message onto the event log with error code 11708 and error 
message is:

Product - Product Name - Installation Failed.

But I want this message to be shown as an error message rather than an 
Information message.  Please let me know if you know of a way with which we can 
do this from  the WIX file. Can event logging be done with WX at all?

Thanks in advance,
Sagar
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Event Logging from an Installer

2007-02-09 Thread Rob Mensching
The Windows Installer creates that event.  You technically speaking could write 
events from a CustomAction in your MSI but (AFAIK) you can't prevent that 
informational event from being added.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vidhya Sagar 
Bhogavalli (Infosys Technologies Ltd)
Sent: Friday, February 09, 2007 2:05 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Event Logging from an Installer

HI all,

I've created a windows installer using WIX. When the installer fails, it throws 
an Information message onto the event log with error code 11708 and error 
message is:

Product - Product Name - Installation Failed.

But I want this message to be shown as an error message rather than an 
Information message.  Please let me know if you know of a way with which we can 
do this from  the WIX file. Can event logging be done with WX at all?

Thanks in advance,
Sagar
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix3 question

2007-02-09 Thread Rob Mensching
Take a look at the MSI SDK for ICE64.  It'll discuss what the ICE means and 
should provide tips to fix it.

You didn't see this in WiX v2 because validation wasn't built in back then.  If 
you ran validation (like through Orca) on your old MSI, you should see the same 
error.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Friedrich 
Dominicus
Sent: Thursday, February 08, 2007 8:12 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix3 question

What does this message mean?
H:\vista_dev\new_system\VistaDriver\SafeFaxInstallerV\safefaxinstallerv.wxs(28)
: error LGHT0204 : ICE64: The directory ProgramMenuDir is in the user profile bu
t is not listed in the RemoveFile table.

This stuff was fine in wix-2 to add a folder to the ProgramMenuFolder.

How is it supposed to work with wix3?

Regards
Friedrich

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Votive under VS2005 reports This installation is forbidden by system policy when running as LUA

2007-02-09 Thread Rob Mensching
Validation (which is executed by default) starts up the Windows Installer 
engine.  If you have the Windows Installer engine disabled, validation will 
always fail.  You'd want to suppress validation (-sval) or allow the Windows 
Installer engine to run.  Of course, validation can catch some errors in your 
MSI so I recommend leaving it on.

Mangaged in this case means administrator said it was okay to run this MSI 
on your machine.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Lipscombe
Sent: Thursday, February 08, 2007 4:28 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Votive under VS2005 reports This installation is 
forbidden by system policy when running as LUA

[Please excuse me if this is a stupid question: I'm just getting started with 
WiX]

I'm just playing with WiX v3.0 and Votive. I've created a new WiX MSI project, 
and when building it (and changing all the PUT-WHATEVER-HERE values), Light 
reports the following error:

Error LGHT0216: An unexpected Win32 exception with error code 0x659 occurred: 
This installation is forbidden by system policy.  Contact your system 
administrator

I looked this up in Google, and all I could find were references to the 
HKLM\SOFTWARE\Policies\Microsoft\Windows\Installer, specifically the DisableMSI 
value (documented at http://msdn2.microsoft.com/en-us/library/aa368304.aspx). 
I'm running Windows 2003, so I guess that the default applies. I assume that 
managed applications in this context means .NET applications, correct?

When I build it with an admin account, I get an ICE validation error instead. 
It appears to me that the ICE checks don't work in a non-Admin account. Is 
there any way to get them to work, or should I simply turn them off? If I turn 
them off, then the project builds successfully, but this probably isn't ideal.

I'd prefer not to set DisableMSI to zero, which appears to allow installations 
for all applications, because I think that it might open a security hole. Or am 
I missing something?

Regards,
Roger.




This is a PRIVATE message. If you are not the intended recipient, please delete 
without copying and kindly advise us by e-mail of the mistake in delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind 1E Ltd to 
any order or other contract unless pursuant to explicit written agreement or 
government initiative expressly permitting the use of e-mail for such purpose.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ICE03 String overflow

2007-02-09 Thread Rob Mensching
It's an ICE error.  You really should fix it.  It isn't hard in this case, just 
shorten the File/@Id.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Seifert
Sent: Wednesday, February 07, 2007 1:56 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ICE03 String overflow

Hello,

I'm getting the following warning when trying to compile my module,
using Wix3.0

ICE03: String overflow (greater than length permitted in column);
Table: File, Column: File, Key(s):

Maybe.the.name.for.this.file.is.too.long.dll.F69460F1_7FD1_421A_9422_D6FFD3AB741C


Is there a way to get around that?
Or should I be concerned about it all?

The component is defined like:

Component Id=ModuleComponent
Guid=97F1CB47-1D61-483B-9635-E554441668D9
File Id=Maybe.the.name.for.this.file.is.too.long.dll
  Name=Maybe.the.name.for.this.file.is.too.long.dll
  Assembly=.net

AssemblyManifest=Maybe.the.name.for.this.file.is.too.long.dll

Source=$(var.Project.TargetDir)\Maybe.the.name.for.this.file.is.too.long.dll

 KeyPath=yes ReadOnly=yes Vital=yes /
/Component


Thanks in advance,
Stefan Seifert

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Letting user select network service or domain account for WebAppPool custom action

2007-02-09 Thread Rob Mensching
I've made a fix in very recent WiX v2 build to support using NT 
AUTHORITY\NETWORK SERVICE as the User for an AppPool and have the correct 
thing happen under the covers.  If you get the latest WiX v2 build, you should 
see this working.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoover 
(VSNC)
Sent: Wednesday, February 07, 2007 11:50 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Letting user select network service or domain account for 
WebAppPool custom action

I am trying to install a web app and I want to let the user select the Identity 
that the App Pool uses.  They should be able to select between Network Service 
and a domain account that they provide.  The problem that I am running into is 
when I try to use a property in the Identity parameter of the WebAppPool tag.  
I am trying the following:

  User Id=WEB_USER Name=[USERID] Password=[PASSWORD] 
Domain=[DOMAIN] CreateUser=no
GroupRef Id=IIS /
  /User
  WebAppPool Id=AppPoolID Name=TFS AppPool 
Identity=[WEB_IDENTITY] User=WEB_USER /

I get the following error when I do this:

1vstfwebtieractions.fragment.wxs(26) : error CNDL0027: The 'Identity' 
attribute has an invalid value according to its data type.

If I replace [WEB_IDENTITY] with other or networkService it compiles, but 
the type of Identity is determined at compile time, not install time.  Is there 
an example WiX fragment that shows how to determine if the App Pool will run as 
Network Service or a domain account at install time instead of at compile time?

Thanks in advance for your help,
--matt hoover
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] 約束の件だけど

2007-02-09 Thread 由佳
私です、由佳です。
ここならいいと思って。いいですよね。。
招待カードを受け取ってください。
http://www.star-lightz.com/mcomf/a442yuka
絶対ですよ、来てね。




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error when trying to conditionally run something (2753)

2007-02-09 Thread dave_c

I actually have two questions relating to this, not sure if I should post one
question seperately though

I have broken my installer down into having two features, CLIENT and SERVER.

What I want to happen is when I install the client feature, upon completion
it runs another small installer to lay down some extra functionality that is
required

If I install the Server component then I do not want the second small
installer to run.

What I am seeing is, if I install just the CLIENT, then the installer runs
to completion correctly.
If I install bothe CLIENT and SERVER on the same machine then the installer
runs to completion correctly.
If I install just the SERVER I get the following error message being
displayed

The installer has encountered an unexpected error instaling the package.
This may indicate a problem with this package. Te error code is 2753

If I check Add/Remove Programs I do see my main installer as having been
installed so just not sure if I am handling the condition correctly,
possibly related to the (NOT Installed) AND (NOT SVGEXISTS) condition
specified.

I have the following definitions

Condition to check for before running. Idea being check that this is an
install and only run if it finds the file in question
--

  Fragment Id='POSTINSTALL'

CustomAction Id='LaunchFile' FileKey='svg' ExeCommand=''
Return='asyncNoWait' /

InstallExecuteSequence
  Custom Action='LaunchFile' After='InstallFinalize'(NOT Installed)
AND (NOT SVGEXISTS)/Custom
/InstallExecuteSequence

  /Fragment

Definition of svg
--
DirectoryRef Id='ProgramFilesFolder'
  Directory Id='Agilent' Name='Agilent'
Directory Id='Dashb' Name='dashb' LongName='Business Dashboard'
  Directory Id='inst' Name='install'/Directory
  Directory Id='manuals' Name='manuals'/Directory
  Directory Id='bin' Name='bin'/Directory
  Directory Id='scripts' Name='scripts'/Directory
/Directory
  /Directory
/DirectoryRef

Property Id=SVGEEXISTS
  DirectorySearch Id=CheckFileDir Path=inst Depth=0
FileSearch Id=CheckSVGFile Name=SVGView.exe /
  /DirectorySearch
/Property

This bring me to the second question

My thinking behind controlling this is to check for a file being laid down
as part of the client install. Is there a better mechanism for determining
which features were selected during installion in order to decide what to do
at the end.
-- 
View this message in context: 
http://www.nabble.com/Error-when-trying-to-conditionally-run-something-%282753%29-tf3200556.html#a8886179
Sent from the wix-users mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error when trying to conditionally run something (2753)

2007-02-09 Thread david adams
Is this function that can be accomplished using the Feature elements?  Do 
you want your Install User to select particular features or do you envision 
something like a custom dialog that allows them to select Client or 
Server?  Pending their selection on the custom dialog, the correct set of 
features should already be enabled / scheduled.


David Adams
MSN MessengerID: [EMAIL PROTECTED]




I actually have two questions relating to this, not sure if I should post 
one

question seperately though

I have broken my installer down into having two features, CLIENT and 
SERVER.


What I want to happen is when I install the client feature, upon completion
it runs another small installer to lay down some extra functionality that 
is

required

If I install the Server component then I do not want the second small
installer to run.

What I am seeing is, if I install just the CLIENT, then the installer runs
to completion correctly.
If I install bothe CLIENT and SERVER on the same machine then the installer
runs to completion correctly.
If I install just the SERVER I get the following error message being
displayed

The installer has encountered an unexpected error instaling the package.
This may indicate a problem with this package. Te error code is 2753

If I check Add/Remove Programs I do see my main installer as having been
installed so just not sure if I am handling the condition correctly,
possibly related to the (NOT Installed) AND (NOT SVGEXISTS) condition
specified.

I have the following definitions

Condition to check for before running. Idea being check that this is an
install and only run if it finds the file in question
--

  Fragment Id='POSTINSTALL'

CustomAction Id='LaunchFile' FileKey='svg' ExeCommand=''
Return='asyncNoWait' /

InstallExecuteSequence
  Custom Action='LaunchFile' After='InstallFinalize'(NOT Installed)
AND (NOT SVGEXISTS)/Custom
/InstallExecuteSequence

  /Fragment

Definition of svg
--
DirectoryRef Id='ProgramFilesFolder'
  Directory Id='Agilent' Name='Agilent'
Directory Id='Dashb' Name='dashb' LongName='Business Dashboard'
  Directory Id='inst' Name='install'/Directory
  Directory Id='manuals' Name='manuals'/Directory
  Directory Id='bin' Name='bin'/Directory
  Directory Id='scripts' Name='scripts'/Directory
/Directory
  /Directory
/DirectoryRef

Property Id=SVGEEXISTS
  DirectorySearch Id=CheckFileDir Path=inst Depth=0
FileSearch Id=CheckSVGFile Name=SVGView.exe /
  /DirectorySearch
/Property

This bring me to the second question

My thinking behind controlling this is to check for a file being laid down
as part of the client install. Is there a better mechanism for determining
which features were selected during installion in order to decide what to 
do

at the end.
--
View this message in context: 
http://www.nabble.com/Error-when-trying-to-conditionally-run-something-%282753%29-tf3200556.html#a8886179

Sent from the wix-users mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier.

Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


_
Don’t miss your chance to WIN 10 hours of private jet travel from Microsoft 
Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Directory xxx is in the user profile but is not listed in the RemoveFile table

2007-02-09 Thread Rob Hamflett
You need to put the component underneath the DASHB folder, or specify DASHB as 
the value for 
[EMAIL PROTECTED]  The Id is just a unique id for that RemoveFolder entry.

Rob

dave_c wrote:
 I have just built a msi file. When I run it rhough Orca I see the following
 error messages
 
 The directory DashMenuDir is in the user profile but is not listed in the
 RemoveFile table.
 The directory DASHB is in the user profile but is not listed in the
 RemoveFile table.
 The directory AGI is in the user profile but is not listed in the RemoveFile
 table.
 
 Firstly do I need to worry about them.
 
 Second if I do how do I reslove the issue.
 
 I've tried doing the following
 
   Fragment Id='Server_BOFiles'
 
 ComponentGroup Id='RemoveDirectories'
   ComponentRef Id='Dirs'/
 /ComponentGroup
 
 DirectoryRef Id=ProgramFilesFolder
   Component Id=Dirs DiskId=1
 Guid={0A3D0343-7286-4f1f-9D14-9023CA330440}
 RemoveFolder Id='DASHB' On='uninstall' /
   /Component
 /DirectoryRef
 
   /Fragment
 
 but it has not made any difference.
 
 Any idea?


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error when trying to conditionally run something (2753)

2007-02-09 Thread dave_c

Basically the user would select to install the Client software from the
Feature Selection screen

Once all the client software has been installed it would then perform a
post install action to install the seperate installer (svgview.exe which
is an installer in itself)

If adding the svgview.exe as a feature can I prevent this from being
displayed on the Feature Selection screen also how would this be executed.
For the time being I have added the code to my Client Fragment of code

?xml version='1.0' encoding='windows-1252'?
Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'
  Fragment Id='ClientFeatures'
!-- Called by Business Dashboard.wxs. This file describes the list
 of possible installable components followed by the actual
components
 we are going to install --
Feature Id='CLIENT'
  Title='Client Configuration' 
  Description='Features to be installed on the Client PC' 
  Display='collapse'
  Absent='allow' 
  Level='1'
  InstallDefault='local'
  FeatureRef Id='ClientDocs'/
  FeatureRef Id='ClientExes'/
  FeatureRef Id='ClientLinks'/
  !-- Note, no condiition here because we want the ability to install
the client on either a client
   machine or on the server itself--
/Feature

Feature Id ='ClientDocs' 
 Level='1' 
 Title='Documents relating to the Agilent Business Dashboard'
 AllowAdvertise='no'
 Description='End User documentation' 
 Absent='allow' 
 InstallDefault='local' 
  ComponentGroupRef Id='ClientDocuments' /
/Feature

Feature Id ='ClientExes' 
 Level='1' 
 Title='Executables that need to be installed on the client machine'
 AllowAdvertise='no'
 Description='At the present time only installs svgviewer to view
traffic lights in Business Objects.' 
 Absent='allow' 
 InstallDefault='local' 
  ComponentGroupRef Id='ClientExecutables' /
/Feature

Feature Id ='ClientLinks' 
 Level='1' 
 Title='Links applications'
 AllowAdvertise='no'
 Description='At the present time only creates a link to
launching the Business Dashboard' 
 Absent='allow' 
 InstallDefault='local' 
  ComponentGroupRef Id='ClientLinks' /
/Feature

CustomAction Id='LaunchFile' FileKey='svg' ExeCommand=''
Return='asyncNoWait' /

InstallExecuteSequence
  Custom Action='LaunchFile' After='InstallFinalize'NOT
Installed/Custom
/InstallExecuteSequence
  /Fragment
/Wix

Interestingly, when I run the installer in debug I get the following error
message

DEBUG: Error 2753:  The File 'svg' is not marked for installation.
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2753. The
arguments are: svg, , 
MSI (s) (BC:7C) [15:25:21:649]: Product: Agilent Business Dashboard -- The
installer has encountered an unexpected error installing this package. This
may indicate a problem with this package. The error code is 2753. The
arguments are: svg, , 

This hopefulyl provides more insight to the problem and hopefully someone
can provide an answer.

david adams-2 wrote:
 
 Is this function that can be accomplished using the Feature elements?  Do 
 you want your Install User to select particular features or do you
 envision 
 something like a custom dialog that allows them to select Client or 
 Server?  Pending their selection on the custom dialog, the correct set
 of 
 features should already be enabled / scheduled.
 
 David Adams
 MSN MessengerID: [EMAIL PROTECTED]
 


I actually have two questions relating to this, not sure if I should post 
one
question seperately though

I have broken my installer down into having two features, CLIENT and 
SERVER.

What I want to happen is when I install the client feature, upon
completion
it runs another small installer to lay down some extra functionality that 
is
required

If I install the Server component then I do not want the second small
installer to run.

What I am seeing is, if I install just the CLIENT, then the installer runs
to completion correctly.
If I install bothe CLIENT and SERVER on the same machine then the
installer
runs to completion correctly.
If I install just the SERVER I get the following error message being
displayed

The installer has encountered an unexpected error instaling the package.
This may indicate a problem with this package. Te error code is 2753

If I check Add/Remove Programs I do see my main installer as having been
installed so just not sure if I am handling the condition correctly,
possibly related to the (NOT Installed) AND (NOT SVGEXISTS) condition
specified.

I have the following definitions

Condition to check for before running. Idea being check that this is an
install and only run if it finds the file in question
--

   Fragment Id='POSTINSTALL'

 CustomAction Id='LaunchFile' 

Re: [WiX-users] Directory xxx is in the user profile but is not listed in the RemoveFile table

2007-02-09 Thread dave_c

When I tried inserting I get the following message when compiling

  Directory Id=ProgramMenuFolder Name=PMenu LongName=Programs
Directory Id=AGI Name=AGI LongName=Agilent 
  Directory Id=DASHB Name=DASHB LongName=Agilent Business
Dashboard 
Directory Id=DashMenuDir Name=Manuals
  Component Id=Dirs DiskId=1
Guid={0A3D0343-7286-4f1f-9D14-9023CA330440}
RemoveFolder Id='DashMenuDirRem' On='uninstall' /
  /Component
/Directory
  /Directory
/Directory
  /Directory

I get a warning message DirectoryDefinitions.wxs(21) : warning LGHT1
010 : Found orphaned Component 'Dirs'.  Every Component should have at least
one
 parent Feature.

Could you show me what I should have put in this section please

Rob Hamflett wrote:
 
 You need to put the component underneath the DASHB folder, or specify
 DASHB as the value for 
 [EMAIL PROTECTED]  The Id is just a unique id for that RemoveFolder
 entry.
 
 Rob
 
 dave_c wrote:
 I have just built a msi file. When I run it rhough Orca I see the
 following
 error messages
 
 The directory DashMenuDir is in the user profile but is not listed in the
 RemoveFile table.
 The directory DASHB is in the user profile but is not listed in the
 RemoveFile table.
 The directory AGI is in the user profile but is not listed in the
 RemoveFile
 table.
 
 Firstly do I need to worry about them.
 
 Second if I do how do I reslove the issue.
 
 I've tried doing the following
 
   Fragment Id='Server_BOFiles'
 
 ComponentGroup Id='RemoveDirectories'
   ComponentRef Id='Dirs'/
 /ComponentGroup
 
 DirectoryRef Id=ProgramFilesFolder
   Component Id=Dirs DiskId=1
 Guid={0A3D0343-7286-4f1f-9D14-9023CA330440}
 RemoveFolder Id='DASHB' On='uninstall' /
   /Component
 /DirectoryRef
 
   /Fragment
 
 but it has not made any difference.
 
 Any idea?
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Directory-xxx-is-in-the-user-profile-but-is-not-listed-in-the-RemoveFile-table-tf3200756.html#a168
Sent from the wix-users mailing list archive at Nabble.com.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Uninstall States, RemoveFiles, and customactions

2007-02-09 Thread Brent B. Powers
I have a driver within my installer that is updated much less often than 
the application itself.
The driver requires a CA for installation and uninstallation.
It also has a couple of RemoveFile elements

I would prefer that the CA's not be executed when upgrading the 
application, but rather only when the containing _component_ is 
upgraded. What I'm looking for, I think, is the component level analog 
of the UPGRADINGPRODUCTCODE Property. Is this available anywhere, or is 
there a different strategy I could use?

Cheers

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Default REINSTALLMODE for repair

2007-02-09 Thread Bob Arnson
Johan Appelgren wrote:
 Anyways, we're already using a custom WixUIExtension, abused
 localization to make the sidebar bitmap width configurable, so I've
 made ReinstallMode configurable the same way.
   

You could also do it with WixVariables -- see WixUI_Advanced for how 
we're doing some stuff like that.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade

2007-02-09 Thread Bob Arnson

Leila Lali (Excell Data Corporation) wrote:


No I have same product ID and same upgrade code for package. I just 
want to change the version and my features are not going to change too.


I think it means minor upgrade so questions are:



In an earlier message you said your features were being reorganized. The 
SDK topic Minor Upgrades says:


A minor upgrade can be used to add new features and components but 
cannot reorganize the feature-component tree.


That requires a major upgrade using the Upgrade table and 
FindRelatedProducts/MigrateFeatureStates/RemoveExistingProducts actions. 
Those don't apply to minor upgrades.


--
sig://boB
http://bobs.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Removing Patch software

2007-02-09 Thread Bob Arnson
dave_c wrote:
 I downloaded the Stable 2.0 version from the wix page (file is listed as
 2.0.4820.0)
   

I used a recent weekly build of WiX v3.

 I then downloaded the SDK from the link on the wix web page which took me to
 the SDK download section. I downloaded the x86 sdk (verson listed as
 3790.1830)
   

I used the Windows Vista SDK to get the fixes in Patchwiz v4.0.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Getting started with VS2005 Express Edition and WiX

2007-02-09 Thread Bob Arnson
Harry Liljeström wrote:
 I have found some information of Votive build and Nant build. Votive is a VS
 package which allows to create WiX setup projects using the Visual Studio
 IDE. But this is not working in Express Edition?
   

The Express editions of Visual Studio don't support third-party packages 
so Votive can't load. You can still use MSBuild to build your WiX 
projects. You won't be able to use VS to edit the projects but you can 
use VS with IntelliSense to edit the WiX source itself.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Change feature install level

2007-02-09 Thread Bob Arnson
Stefan Seifert wrote:
 But my problem still remains, I don't really know how to set the value 
 for a property from a SelectionTree.
 If component A or B will be installed, so the property holds the right 
 value.
   

You need to set the property, such as with a custom action. You can use 
the feature action states to condition the custom action. See 
Conditional Statement Syntax in the MSI SDK for details.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error when trying to conditionally run something (2753)

2007-02-09 Thread Wilson, Phil
 Not marked for installation means that the custom action can't run because 
the target file isn't going to be installed. That could be a consequence of 
your feature/component arrangement, although sometimes you get it if there is 
an existing file of an equal or higher version so the one in your package isn't 
going to be installed. If you run the file from the Binary table the error 
should go away, or put it in a hidden feature that's always installed. 

Phil Wilson 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dave_c
Sent: Friday, February 09, 2007 7:31 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Error when trying to conditionally run something (2753)


Basically the user would select to install the Client software from the Feature 
Selection screen

Once all the client software has been installed it would then perform a post 
install action to install the seperate installer (svgview.exe which is an 
installer in itself)

If adding the svgview.exe as a feature can I prevent this from being displayed 
on the Feature Selection screen also how would this be executed.
For the time being I have added the code to my Client Fragment of code

?xml version='1.0' encoding='windows-1252'? Wix 
xmlns='http://schemas.microsoft.com/wix/2003/01/wi'
  Fragment Id='ClientFeatures'
!-- Called by Business Dashboard.wxs. This file describes the list
 of possible installable components followed by the actual components
 we are going to install --
Feature Id='CLIENT'
  Title='Client Configuration' 
  Description='Features to be installed on the Client PC' 
  Display='collapse'
  Absent='allow' 
  Level='1'
  InstallDefault='local'
  FeatureRef Id='ClientDocs'/
  FeatureRef Id='ClientExes'/
  FeatureRef Id='ClientLinks'/
  !-- Note, no condiition here because we want the ability to install the 
client on either a client
   machine or on the server itself--
/Feature

Feature Id ='ClientDocs' 
 Level='1' 
 Title='Documents relating to the Agilent Business Dashboard'
 AllowAdvertise='no'
 Description='End User documentation' 
 Absent='allow' 
 InstallDefault='local' 
  ComponentGroupRef Id='ClientDocuments' /
/Feature

Feature Id ='ClientExes' 
 Level='1' 
 Title='Executables that need to be installed on the client machine'
 AllowAdvertise='no'
 Description='At the present time only installs svgviewer to view traffic 
lights in Business Objects.' 
 Absent='allow' 
 InstallDefault='local' 
  ComponentGroupRef Id='ClientExecutables' /
/Feature

Feature Id ='ClientLinks' 
 Level='1' 
 Title='Links applications'
 AllowAdvertise='no'
 Description='At the present time only creates a link to launching 
the Business Dashboard' 
 Absent='allow' 
 InstallDefault='local' 
  ComponentGroupRef Id='ClientLinks' /
/Feature

CustomAction Id='LaunchFile' FileKey='svg' ExeCommand=''
Return='asyncNoWait' /

InstallExecuteSequence
  Custom Action='LaunchFile' After='InstallFinalize'NOT Installed/Custom
/InstallExecuteSequence
  /Fragment
/Wix

Interestingly, when I run the installer in debug I get the following error 
message

DEBUG: Error 2753:  The File 'svg' is not marked for installation.
The installer has encountered an unexpected error installing this package.
This may indicate a problem with this package. The error code is 2753. The 
arguments are: svg, , MSI (s) (BC:7C) [15:25:21:649]: Product: Agilent Business 
Dashboard -- The installer has encountered an unexpected error installing this 
package. This may indicate a problem with this package. The error code is 2753. 
The arguments are: svg, , 

This hopefulyl provides more insight to the problem and hopefully someone can 
provide an answer.

david adams-2 wrote:
 
 Is this function that can be accomplished using the Feature elements?  
 Do you want your Install User to select particular features or do you 
 envision something like a custom dialog that allows them to select 
 Client or Server?  Pending their selection on the custom dialog, 
 the correct set of features should already be enabled / scheduled.
 
 David Adams
 MSN MessengerID: [EMAIL PROTECTED]
 


I actually have two questions relating to this, not sure if I should 
post one question seperately though

I have broken my installer down into having two features, CLIENT and 
SERVER.

What I want to happen is when I install the client feature, upon
completion
it runs another small installer to lay down some extra functionality 
that is required

If I install the Server component then I do not want the second small 
installer to run.

What I am seeing is, if I install just the CLIENT, then the installer 
runs to completion correctly.
If I install bothe CLIENT and SERVER on the same 

Re: [WiX-users] Upgrade

2007-02-09 Thread Leila Lali (Excell Data Corporation)
Yes you are right. I finally get that I need to do major upgrade and it fixes 
my problem. Another question is if I do major upgrade and change produce code,
 Is there any way to prevent lower version to install when upper version is 
already installed without changing the lower version msi?

Thanks
Leila

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Friday, February 09, 2007 10:40 AM
To: Leila Lali (Excell Data Corporation)
Cc: Mike Dimmick; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Upgrade

Leila Lali (Excell Data Corporation) wrote:
No I have same product ID and same upgrade code for package. I just want to 
change the version and my features are not going to change too.
I think it means minor upgrade so questions are:

In an earlier message you said your features were being reorganized. The SDK 
topic Minor Upgrades says:

A minor upgrade can be used to add new features and components but cannot 
reorganize the feature-component tree.

That requires a major upgrade using the Upgrade table and 
FindRelatedProducts/MigrateFeatureStates/RemoveExistingProducts actions. Those 
don't apply to minor upgrades.



--

sig://boB

http://bobs.org
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] String Format

2007-02-09 Thread Leila Lali (Excell Data Corporation)
Hi,

I need to show an error message for a custom action and the message that I have 
is like The product '[2]' ...
It seems that I need to pass parameter to show this error. Or set the value of 
[2] some where.

Does any body knows how I can pass parametr to a string?

Thanks
Leila

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX COM+ help

2007-02-09 Thread Fredrik Grohn
The answer to that is unfortunately that it is currently not supported. In
order the run the application under the Network Service account it needs to
also run as a service, and that cannot be set in the current version of the
COM+ CA's. I believe there is a feature request of a bug open at SF about
this already so you are not the first one to notice. But so far I haven't
had the opportunity to implement it.

 

Fredrik

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jan du Toit
Sent: Friday, February 09, 2007 7:09 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WiX COM+ help

 

I am trying to set the identity of a com+ element in WiX. Allow me to
elaborate: after the com+ dll's have been installed and I go to (in windows
XP) control panel, administrative tools, component services I open up the
component services tab and under computer my com+ application is installed.
However, when I open up the properties of my com+ application and go to the
identity tab i find it is set on Interactive user under System account. How
can I alter my code in wix so that this is rather set on Network Service?

 

So basically I want something like : Component Id=.. 

 
pca:ComPlusApplication Id=... Identity =Interactive User

 
/pca:ComPlusApplication

/Component

 

But instead of setting Identity to Interactive User how can I change this
to give me Network Service instead. I have tried just subb'ing Network
Service - this just writes Network Service in the username path of the
This User radio checkbox.

 

Could anyone please help me?

 

Thanx!

Jano du Toit

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Letting user select network service or domain account for WebAppPool custom action

2007-02-09 Thread Matt Hoover (VSNC)
I ended up going a different route.  I created two components, one that 
installed the app pool as a domain user, and the other that installed the app 
pool as Network Service.  Then I used conditions to make sure that only one of 
the two components were installed.
Thanks for your help,
--matt

From: Rob Mensching
Sent: Friday, February 09, 2007 5:16 AM
To: Matt Hoover (VSNC); wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Letting user select network service or domain account 
for WebAppPool custom action

I've made a fix in very recent WiX v2 build to support using NT 
AUTHORITY\NETWORK SERVICE as the User for an AppPool and have the correct 
thing happen under the covers.  If you get the latest WiX v2 build, you should 
see this working.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Hoover 
(VSNC)
Sent: Wednesday, February 07, 2007 11:50 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Letting user select network service or domain account for 
WebAppPool custom action

I am trying to install a web app and I want to let the user select the Identity 
that the App Pool uses.  They should be able to select between Network Service 
and a domain account that they provide.  The problem that I am running into is 
when I try to use a property in the Identity parameter of the WebAppPool tag.  
I am trying the following:

  User Id=WEB_USER Name=[USERID] Password=[PASSWORD] 
Domain=[DOMAIN] CreateUser=no
GroupRef Id=IIS /
  /User
  WebAppPool Id=AppPoolID Name=TFS AppPool 
Identity=[WEB_IDENTITY] User=WEB_USER /

I get the following error when I do this:

1vstfwebtieractions.fragment.wxs(26) : error CNDL0027: The 'Identity' 
attribute has an invalid value according to its data type.

If I replace [WEB_IDENTITY] with other or networkService it compiles, but 
the type of Identity is determined at compile time, not install time.  Is there 
an example WiX fragment that shows how to determine if the App Pool will run as 
Network Service or a domain account at install time instead of at compile time?

Thanks in advance for your help,
--matt hoover
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users