[WiX-users] Setting installer Property value from a SQL DB field?

2006-10-31 Thread Chandra Rentachintala








I need to set a property in our installer by reading it from
a SQL database table.

I would like to do it during launch condition evaluation
before the file copy. 

Has anyone done this in WIX? 



Thanks in advance,

chandra






-
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] FW: custom actions

2006-09-15 Thread Chandra Rentachintala








Add a condition checking NOT
Installed in InstallExecuteSequence/InstallUISequence.



Ex: 

Custom Action=SetARPINSTALLLOCATION After=CostFinalize

![CDATA[NOT Installed]]

/Custom











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Saranath Aravamudhan
Sent: Friday, September 15, 2006
2:38 PM
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] FW: custom
actions



















Thanks





Saranath











_
From: Saranath Aravamudhan 
Sent: Friday, September 15, 2006
2:36 PM
To: Windows Installer XML
Subject: custom actions











Hi-











Can you please let me know how to restrict custom actions to
run only during the installation and not during the un-install?











Thanks





Saranath




















-
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] How to put '\' in the customaction as it is ?

2006-08-24 Thread Chandra Rentachintala
Thanks for the suggestion, but doing that caused the failure of schtasks
With 1631 error. Thanks for the quot; suggestion.

But fixing the backslash in square brackets fixed the issue.

CustomAction Id=CleanupTaskInstall Directory=CompDir
Return=asyncNoWait ExeCommand=' schtasks.exe /Create /RU
[SQLUSERNAME] /rp [SQLPASSWORD] /SC [CLEANUPFREQUENCY] /ST 01:00:00
/TN DBCLEANUPTASK
[\\]quot;[#CLEANUP_EXE][\\]quot;'


- chandra


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 23, 2006 3:32 AM
To: Chandra Rentachintala
Cc: wix-users@lists.sourceforge.net
Subject: How to put '\' in the customaction as it is ?

Hi
  You can use quot; as below.

ExeCommand=' schtasks.exe /Create /RU [SQLUSERNAME] /rp
[SQLPASSWORD] /SC [CLEANUPFREQUENCY] /ST 01:00:00 /TN DBCLEANUPTASK
/TR quot;[#CLEANUP_EXE]quot;' /

Thanks
Bibhuti


Date: Tue, 22 Aug 2006 14:18:18 -0700
From: Chandra Rentachintala [EMAIL PROTECTED]
Subject: [WiX-users] How to put '\' in the customaction as it is ?
To: wix-users@lists.sourceforge.net
Message-ID:

[EMAIL PROTECTED]

Content-Type: text/plain; charset=us-ascii

I am adding a scheduled task thru the installer like this. 

 

CustomAction Id=CleanupTaskInstall Directory=CompDir
Return=asyncNoWait 

   ExeCommand=' schtasks.exe /Create /RU [SQLUSERNAME] /rp
[SQLPASSWORD] /SC [CLEANUPFREQUENCY] /ST 01:00:00 /TN DBCLEANUPTASK
/TR [#CLEANUP_EXE] ' /

 

and it works fine in adding scheduled task, but not starting due to
schtasks error.

 

I found out from the support site
http://support.microsoft.com/?KBID=823093 that 

I need to put \ around the executable path to make it work. I verified
this using 

command line and it works fine.

 

I want to put this in WIX code, but ICE is complaining that it is not
the correct format.

Is there a way I can escape this sequence and achieve 
\[#CLEANUP_EXE]\   

from [#CLEANUP_EXE].

 

Thanks in advance,

chandra

-
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] MessageQueue PubCA

2006-08-04 Thread Chandra Rentachintala
From Fredrik Grohn [EMAIL PROTECTED] mail


You need to include the PubCA compiler extension on the command line.
Here is an example:

candle queues.wxs -ext
Microsoft.Tools.WindowsInstallerXml.PcaCompiler,pcaext


When you link it you also need to include pubca.wixlib:

light queues.wixobj %WIX_HOME%\ca\pubca.wixlib -out queues.msi -ext
Microsoft.Tools.WindowsInstallerXml.PcaCompiler,pcaext


(%WIX_HOME% is the directory where you have WiX installed on you
system.)


- Chandra

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek
Cicerone
Sent: Friday, August 04, 2006 12:33 PM
To: 'david adams'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] MessageQueue PubCA

You need to pass in the pubca extension.  For v2, it should look
something
like this:
-ext assembly, class (or maybe its class, assembly - I don't
remember -
it was always too verbose for me :)

(I'm not sure of the specifics for pubca unfortunately - perhaps a
fellow
dev can help out here).

Derek

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of david
adams
Sent: Friday, August 04, 2006 12:23 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] MessageQueue PubCA

Derek:

d:\program files\windows installer xml\bin\candle 
d:\development\vs2003\services\rti\risktechinterfaces\risktech
interfaces 
wix install\crawford.risktech.interfaces.wxs 
d:\development\vs2003\services\rti\risktechinterfaces\risktech
interfaces 
wix install\crawford.risktech.class.library.wxs 
d:\development\vs2003\services\rti\risktechinterfaces\risktech
interfaces 
wix install\cwa.common.wxs 
d:\development\vs2003\services\rti\risktechinterfaces\risktech
interfaces 
wix install\cwd.anonymousauth.wxs  
d:\development\vs2003\services\rti\risktechinterfaces\risktech
interfaces 
wix install\cdx.impersonations.wxs 
d:\development\vs2003\services\rti\risktechinterfaces\risktech
interfaces 
wix install\cmq.common.wxs

I am getting the error in the last *.wxs file that was created 
(cmq.common.wxs).

David Adams
MSN MessengerID: [EMAIL PROTECTED]

From: Derek Cicerone [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: 'david adams' 
[EMAIL PROTECTED],wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] MessageQueue PubCA
Date: Fri, 4 Aug 2006 08:29:09 -0700
MIME-Version: 1.0
Received: from winisp-fe1.winisp.net ([192.197.157.82]) by 
bay0-mc4-f15.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444);
Fri, 4

Aug 2006 08:29:12 -0700
Received: from derekclap ([67.168.109.53]) by winisp-fe1.winisp.net
over 
TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Fri, 4 Aug
2006 
08:29:11 -0700
X-Message-Info: LsUYwwHHNt3660MmjhEvYg2f34OAemlKtU9j2Z7TuGo=
X-Mailer: Microsoft Office Outlook 11
Thread-Index: Aca31W62MXvabLltSXSP4lp+t2VLjQABRJBw
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2922
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 04 Aug 2006 15:29:12.0012 (UTC) 
FILETIME=[BC8368C0:01C6B7DA]

What does your command line look like for candle?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of david
adams
Sent: Friday, August 04, 2006 7:51 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] MessageQueue PubCA

I am getting the following [CANDLE] error [CNDL0005] from my WiX
Fragment
file that configures as Microsoft Message Queue.  I get the same error
whether I use the MessageQueue element (with / without an in-element 
xmlns

attribute definition) or pca:MessageQueue element (with / without an
xmlns:pca attribute definition in the outer WiX element.  I notice
that
the element is not available via Intellisense in VS.NET (using Votive).

I am running WiX / Votive v.2.0.4421.0  VS.NET v1.1 / v2.0.

Error Message:
d:\MYFOLDER\CMQ.Common.wxs(10) : error CNDL0005 : The Component
element
contains an unexpected child element 'MessageQueue'.

...
Fragment
   User Id=ntwkService Domain=NT AUTHORITY Name=NETWORK SERVICE
/
   DirectoryRef Id=TARGETDIR
 Component Id=CreateMessageQueue
Guid=AC1B0EAE-905D-4532-99D1-400FBA70799D
   MessageQueue
xmlns=http://schemas.microsoft.com/wix/2005/02/pubca;
Id=mQ Label=RiskTech Interfaces Message Queue
PathName=.\Private$\rtiQ
 MessageQueuePermission Id=permissionNetworkService
User=ntwkService PeekMessage=yes ReceiveMessage=yes 
WriteMessage=yes

/
   /MessageQueue
 /Component
   /DirectoryRef
   Feature Id=MsgQueue Level=1 Title=Message Queue
Description=Creates Private Message Queue
 ComponentRef Id=CreateMessageQueue /
   /Feature
/Fragment
...

David Adams
MSN MessengerID: [EMAIL PROTECTED]



---
--
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share

your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVD
EV

Re: [WiX-users] password is incorrectly set during ServiceInstall

2006-07-28 Thread Chandra Rentachintala
It turned out to be Local Security Policy issue than of password. 
Adding the service user to the Log on as a service rights 
under Administrative Tools - Local Security policy /Secutity
Settings/Local Policies/User Rights Management in XP and similar one
in 2003 fixed the issue.

Apparently setting the logon as user/password thru the services.msc
service properties is setting this rights by default, so it was 
working thru that path. 

Is it possible to add this as part of the ServiceInstall code in Wix?

Thanks to chris leon from wix list for finding this solution.

- chandra

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chandra
Rentachintala
Sent: Tuesday, July 11, 2006 10:09 AM
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] password is incorrectly set during
ServiceInstall

Yes. It has a $ at the beginning of password. 

How to overcome this problem as we can't predict what kind of passwords
people use at customer locations?. Is there a way to tell wix/msi to
take
Password string as it is?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil
Wilson
Sent: Tuesday, July 11, 2006 7:14 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] password is incorrectly set during
ServiceInstall

Is there a $ at the start of the password? It occurs to me that if
Windows
Installer is seeing a $ at the start of the password in square brackets
it
could be attempting to do substitution for a component path (that's what
$
at the start of a name means). 
Phil Wilson 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil
Wilson
Sent: Monday, July 10, 2006 7:48 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] password is incorrectly set during
ServiceInstall

A dependency issue seems most likely in the circumstances. What happens
if
you install the service but don't attempt to start it during the
installation? Does it start manually from the services applet? If it
does
you know that the account is fine but something like a dependent Dll or
assembly is missing when the service is started. 

If it doesn'r start at reboot time, this can be a dependency on another
service that you haven't configured. 

As an aside, you should look at MsiHiddenProperties as a way of not
exposing
passwords in a log!

Phil Wilson 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: Friday, July 07, 2006 6:00 PM
To: 'Chandra Rentachintala'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] password is incorrectly set during
ServiceInstall



The error message from StartServices is pretty dismal.  The same message
is
presented for pretty much all reasons.  More like than not, you service
won't start because some dependency is missing or something else.  You
should be able to try diagnosing the service start while the dialog box
is
up...

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chandra
Rentachintala
Sent: Friday, July 07, 2006 1:41 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] password is incorrectly set during ServiceInstall

 

I have my service installed like this and it installs the service
correctly,

but service is unable to start due to login failure. 

 

 ServiceInstall Id='MyServiceInstall' 

DisplayName='myservice' Name='myservice' 

ErrorControl='ignore' Type='ownProcess' Vital=no Start=auto 

 Account='[SERVICEDOMAIN]\[SERVICEUSERNAME]'
Password='[SERVICEPASSWORD]' /

 

I traced the logs and the password is correct there. If I set the same
password 

in services.msc, it works fine. ServicePassword has couple of '$' chars
in
it, 

if that is of any significance.

 

Anyone hit this issue and found the solution, let me know.

 

Thanks

Chandra





-
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

Re: [WiX-users] password is incorrectly set during ServiceInstall

2006-07-11 Thread Chandra Rentachintala
Yes. It has a $ at the beginning of password. 

How to overcome this problem as we can't predict what kind of passwords
people use at customer locations?. Is there a way to tell wix/msi to
take
Password string as it is?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil
Wilson
Sent: Tuesday, July 11, 2006 7:14 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] password is incorrectly set during
ServiceInstall

Is there a $ at the start of the password? It occurs to me that if
Windows
Installer is seeing a $ at the start of the password in square brackets
it
could be attempting to do substitution for a component path (that's what
$
at the start of a name means). 
Phil Wilson 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil
Wilson
Sent: Monday, July 10, 2006 7:48 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] password is incorrectly set during
ServiceInstall

A dependency issue seems most likely in the circumstances. What happens
if
you install the service but don't attempt to start it during the
installation? Does it start manually from the services applet? If it
does
you know that the account is fine but something like a dependent Dll or
assembly is missing when the service is started. 

If it doesn'r start at reboot time, this can be a dependency on another
service that you haven't configured. 

As an aside, you should look at MsiHiddenProperties as a way of not
exposing
passwords in a log!

Phil Wilson 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: Friday, July 07, 2006 6:00 PM
To: 'Chandra Rentachintala'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] password is incorrectly set during
ServiceInstall



The error message from StartServices is pretty dismal.  The same message
is
presented for pretty much all reasons.  More like than not, you service
won't start because some dependency is missing or something else.  You
should be able to try diagnosing the service start while the dialog box
is
up...

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chandra
Rentachintala
Sent: Friday, July 07, 2006 1:41 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] password is incorrectly set during ServiceInstall

 

I have my service installed like this and it installs the service
correctly,

but service is unable to start due to login failure. 

 

 ServiceInstall Id='MyServiceInstall' 

DisplayName='myservice' Name='myservice' 

ErrorControl='ignore' Type='ownProcess' Vital=no Start=auto 

 Account='[SERVICEDOMAIN]\[SERVICEUSERNAME]'
Password='[SERVICEPASSWORD]' /

 

I traced the logs and the password is correct there. If I set the same
password 

in services.msc, it works fine. ServicePassword has couple of '$' chars
in
it, 

if that is of any significance.

 

Anyone hit this issue and found the solution, let me know.

 

Thanks

Chandra





-
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


-
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] conditional disabling ConfigureIIS custom action?

2006-07-05 Thread Chandra Rentachintala








I am using sca.wixlib (wix 2.0) and it comes with ConfigureIIS
action in InstallExecuteSequence.

Our installation has multiple features and only few of them
needs IIS pre-requisite check. 



Currently when we run the installer with features which dont
need IIS, 

this custom action is still getting executed and throwing an
ignorable dialog 

with message Cannot connect to Internet Information
Server. 



I tried adding conditional custom action explicitly in the
installexecutesequence in my code for ConfigureIIS

but it is not showing up in the msi when I open it in Orca.



If anyone already done conditionally disabling wix sca.wixlib
custom actions, let me know.



Thanks in advance,

chandra






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] Launching another msi based on selection of feature

2006-06-08 Thread Chandra Rentachintala








In my installer there are 4 features to customize for a given
machine and 

only one of it depends on a vendor package. 



I want to run the vendor product msi or setup.exe when that
package is not present

on the machine and corresponding feature is selected, during
my setup sequence. 

Is there a way to do that with WiX or any available non-commercial
bootstrappers? 



I found in web, a managed custom action sample which uses 

System.Configuration.Install.Installer class from .Net to
trigger 

Custom action methods at install/commit/rollback/uninstall operations,


but not able to launch another msi from there.



Did anyone ran into this scenario and got it working? 



Thanks in advance.



- Chandra






___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users