Re: [WiX-users] Change TARGETDIR

2007-12-05 Thread Pierson Lee (Volt)
(CCing Wix mailing list)

Guna-

You need to send these through the wix mailing list as that is the purpose of 
the list.

I'd probably need to see your msi install outfile but from what you are saying 
either 1) the custom action isn't running or 2) the custom action isn't running 
in the right order (TARGET DIR is getting assigned after your script runs).

I haven't tried to modify TARGETDIR with  a custom action , so I can't begin to 
tell you what the problem is yet.

Thanks
Pierson

From: Guna S [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 05, 2007 1:17 AM
To: Pierson Lee (Volt)
Subject: Change TARGETDIR

Hi

I got your ID in Web. This is regarding Wix. If you knw wix then help me. 
Otherwise just ignore this mail.

My requirement is:

Initially my TARGETDIR fefers to C:\. Following is wix code

Directory Id='TARGETDIR' Name='SourceDir'
   Directory Id='ProgramFilesFolder' Name='PFiles'

After that I called Custom action Dll and in dll I setted property PATH to some 
other drive(Not C drive)
Below is code for same

Binary Id=BinDiskSp SourceFile=SampleDLL.dll/
CustomAction Id=DiskSp BinaryKey=BinDiskSp DllEntry=SampleFunction/

InstallExecuteSequence
 Custom Action=DiskSp After=InstallInitialize/Custom
/InstallExecuteSequence

Now with new ppty ie PATH, I want to set TARGETDIR as the whatever value that 
my property PATH has
Below is the code


CustomAction Id=NewDir Property=TARGETDIR Value=[PATH] 
Execute=firstSequence /

/InstallExecuteSequence
Custom Action=NewDir Before=LaunchConditions/
/InstallExecuteSequence

But when i execute msi, it is installing in C drive only.

There is no wrong in dll. It is showing properly with new drive name.


-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] capturing errors from deployment using octopusCLI

2007-11-13 Thread Pierson Lee (Volt)
Forwarding to WiX list

Does anyone know how to fail an MSI install with an error code if the website 
fails to be installed/configured? I was think of Windows Service and thought 
there was a way to do the iis:WebSite also but there doesn't seem to be.

Any help is appreciated.

Thanks
Pierson

From: Michael Thurlkill
Sent: Tuesday, November 13, 2007 3:46 PM
To: Pierson Lee (Volt); Chandra Mohan
Subject: RE: capturing errors from deployment using octopusCLI

We're using Wix.  Chandra did most of the work, but I know just enough to be 
dangerous.

From: Pierson Lee (Volt)
Sent: Tuesday, November 13, 2007 3:43 PM
To: Michael Thurlkill; Chandra Mohan
Subject: RE: capturing errors from deployment using octopusCLI

Are you creating your MSIs through WiX or using something else?

From: Michael Thurlkill
Sent: Tuesday, November 13, 2007 3:38 PM
To: Pierson Lee (Volt); Chandra Mohan
Subject: RE: capturing errors from deployment using octopusCLI

So, how do you do that?
Chandra, you probably know more about this than I do.   Can you help work out 
how to get the error code out of the msi and octopus?

From: Pierson Lee (Volt)
Sent: Friday, November 09, 2007 6:14 PM
To: Michael Thurlkill
Subject: RE: capturing errors from deployment using octopusCLI

I think you need to mark it critical in your MSI so the MSI install fails if it 
can't install the site. That's what I did to get Octopus to error

From: Michael Thurlkill
Sent: Friday, November 09, 2007 6:13 PM
To: Pierson Lee (Volt)
Subject: RE: capturing errors from deployment using octopusCLI

Yes.  I can see the errors from the msi in the octopus log.  I just don't 
appear to get an errorcode out of octopus.

From: Pierson Lee (Volt)
Sent: Friday, November 09, 2007 5:55 PM
To: Michael Thurlkill; Octopus Discussions
Subject: RE: capturing errors from deployment using octopusCLI

Are you deploying the website through an MSI?

From: Michael Thurlkill
Sent: Friday, November 09, 2007 12:25 PM
To: Michael Thurlkill; Octopus Discussions
Subject: RE: capturing errors from deployment using octopusCLI

Does anyone deploy websites using Octopus?

From: Michael Thurlkill
Sent: Thursday, November 08, 2007 4:39 PM
To: Octopus Discussions
Subject: capturing errors from deployment using octopusCLI

We are using octopuscli in an automated job to deploy a webapp to several web 
servers.
If it is unable to deploy to one or more servers we would like to know and 
return failure for the job.
I'm not seeing a way to do this other than parsing the logs to look for errors.
Is there a way to cause octopus to return an error code?
How are other teams dealing with this kind of scenario?

Thanks
-
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


Re: [WiX-users] IIS issues during install/uninstall

2007-11-09 Thread Pierson Lee (Volt)
Hi-

I started using the following build:
Votive - Windows Installer XML (WiX) Toolset, Version 3.0.3509.0

The Website installation issue of properties in the wrong section seems to be 
resolved (I need to do further testing, but after 20-30 installs, I have yet to 
get it to fail). The AppPool is still an issue in that I am passing it a User 
account with a Username/password but it is not installing the Username/Password 
into the AppPool Identity.

I've included my code below for that and hopefully I'm just doing something 
wrong. If not, and it is a bug, let me know and I'll file a report.

Thanks
Pierson

!-- Web Service Username/Password --
util:User Id=PROGRAMWebServiceUser 
Name=[PROGRAMSERVICE_USERNAME] Password=[PROGRAMSERVICE_PASSWORD] /

!-- Components and Directory Definitions --
!-- WEb App Settings --
iis:WebApplication Id=PROGRAMWebApplication
Name=PROGRAMWeb_AppPool
DefaultScript=JScript
WebAppPool=PROGRAMWeb_AppPool /

!-- Web Directory Properties (same for all the sites) --
iis:WebDirProperties Id=WebAppProperties
AnonymousAccess=no
WindowsAuthentication=yes
AccessSSL=yes
Execute=yes
Read=yes
DefaultDocuments=Default.aspx
Script=yes /

!-- Root Directory --
DirectoryRef Id=TARGETDIR
Component Win64=yes Id=PROGRAMWebSiteComponent   
Guid={GUID HERE}
!-- Web Settings --
iis:WebSite Id=BCWebSite
Description=PROGRAMWebsite - 
[PROGRAMWEBSITE_STANDARD_PORT]/[PROGRAMWEBSITE_SECURE_PORT]
Directory=PROGRAMDir_Web
DirProperties=WebAppProperties
WebApplication=PROGRAMWebApplication 

iis:WebAddress 
Id=PROGRAMWebSiteAddress_Standard Port=[PROGRAMWEBSITE_STANDARD_PORT]  
Secure=no /
iis:WebAddress 
Id=PROGRAMWebSiteAddress_Secure Port=[PROGRAMWEBSITE_SECURE_PORT] 
Secure=yes /
/iis:WebSite
/Component
Component Win64=yes Id=PROGRAMWebAppPoolComponent 
Guid={={GUID HERE}
iis:WebAppPool Id=PROGRAMWeb_AppPool
CpuAction=none
Name=PROGRAMWeb_AppPool
Identity=other
User=PROGRAMWebServiceUser /
/Component
/DirectoryRef


-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Friday, November 09, 2007 12:29 AM
To: Blair Murri
Cc: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] IIS issues during install/uninstall

That WiX v3 build is about 6 months old. If you're going to be using WiX
v3, you really should be picking up a new build at least monthly. It is
very likely that this issue is already fixed. If you find that the
latest build reproduces the problem, please do open a bug.

Blair Murri wrote:

 Updating the thread with more information.

 *From:* Pierson Lee (Volt)
 *Sent:* Thursday, November 08, 2007 3:23 PM
 *To:* Aaron Wiley; Blair Murri
 *Cc:* James Elder; Nick Horvath
 *Subject:* RE: IIS issues with MSI install

 I certainly can!

 Blair,

 The version I am using is: Votive 2005 - Windows Installer XML (WiX)
 Toolset, Version 3.0.2925.0

 The issue with the AppPool is similar to the issue I am having with
 the websites. It would insert the keys and folders in the wrong spot
 in the metabase. It looks as if IIS Websites seem to be a little more
 forgiving then the AppPools.

 Here is a screen shot of the metabase issue that I'm seeing currently.
 Notice the two sections in the red box, it looks as if the W3SVC\5
 section is being put all over the place when it should *only* reside
 under the LM section of the metabase.

 Any help is appreciated.

 Thanks

 Pierson

 cid:image002.png@01C8221B.475DA540

 

 *From**:* Blair Murri
 *Sent:* Wednesday, November 07, 2007 6:11 PM
 *To:* Aaron Wiley
 *Cc:* James Elder; Nick Horvath
 *Subject:* RE: IIS issues with MSI install

 I personally haven't done anything involving building MSIs for IIS,
 and I have done next to nothing with IIS in general. This appears (on
 the surface) to be a bug in the IIS custom actions.

 The alias for WiX is wix-users@lists.sourceforge.net
 mailto:wix-users@lists.sourceforge.net, which is external and
 public

Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

2007-11-09 Thread Pierson Lee (Volt)
That's what I was showing when I reinstalled this morning.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan
Sent: Friday, November 09, 2007 6:25 AM
To: Blair Murri; Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

Ok, I just completely removed WIX/Project Aggregator/Visual Studio 2005.  I 
then re-installed VS2005, updated it with Windows Update, installed project 
aggregator, and wix.  I'm still getting the same error.  All other project 
types work fine (C#, C++, VB, etc).

When I install the projectaggregator2.msi, it goes very quick with no dialog.  
Is that normal?

Alan


From: Blair Murri [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 8:39 PM
To: Lanteigne, Alan; Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

Did you install the ProjectAggregator2.msi first?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan
Sent: Thursday, November 08, 2007 5:26 PM
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

Ok, after removing the old, installing the new (3502 from the link Bob gave 
me), I get The operation could not be completed.  No such interface supported 
when I try to save a new WIX project. If I open my existing project, I get 
warned that it must be opened in the IDE and converted.  The project files are 
unavailable in Project Explorer.

Does anyone have a solution for that?

Thanks,

Alan


From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 7:40 PM
To: Lanteigne, Alan
Cc: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

Lanteigne, Alan wrote:
I got it from here:

http://sourceforge.net/project/showfiles.php?group_id=105970package_id=16, 
which was a link for Votive 3.0 download page on wix.sourceforge.net.

I grabbed the newest votive msi.

Use the WiX3.msi from http://wix.sourceforge.net/releases/ instead. The 
Votive-only installer was replaced with a WiX installer last year.

--

sig://boB

http://joyofsetup.com/
-
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


Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

2007-11-08 Thread Pierson Lee (Volt)
Are you getting it from wix.sourceforge.com?

From: Lanteigne, Alan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 1:22 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: New to WIX, trying to get a UI to appear in my MSI

I installed 3.2015, the latest votive installer I could find.  Do you know of a 
newer one?  Re-installing didn't help...


From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 3:56 PM
To: Lanteigne, Alan; wix-users@lists.sourceforge.net
Subject: RE: New to WIX, trying to get a UI to appear in my MSI

No. sounds like a bad dll? Weird. You installed the latest version of Votive? 
Maybe try and reinstall it...


From: Lanteigne, Alan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 12:48 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: New to WIX, trying to get a UI to appear in my MSI

Oh, that kind of reference.  I was thinking too narrowly.  That gives me this 
error upon compilation:

Error 2  Not a valid object file; detail: Data at the root level is 
invalid. Line 1, position 1.   C:\Program Files\Windows Installer 
XML\bin\WixUIExtension.dll

Is that normal?


From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 3:44 PM
To: Lanteigne, Alan; wix-users@lists.sourceforge.net
Subject: RE: New to WIX, trying to get a UI to appear in my MSI

No.. In Visual Studio you need to add a reference to the UI dll.

So Project - Add Reference - WixUIExtension.dll

From: Lanteigne, Alan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 12:16 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: New to WIX, trying to get a UI to appear in my MSI

Is that the area of the sample file here:


Component Id='HelperLibrary' 
Guid='YOURGUID-6BE3-460D-A14F-75658D16550B'

  File Id='HelperDLL' Name='Helper.dll' DiskId='1' 
Source='Helper.dll' Vital='yes' /

/Component

?


From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 3:13 PM
To: Lanteigne, Alan; wix-users@lists.sourceforge.net
Subject: RE: New to WIX, trying to get a UI to appear in my MSI

You have to add a reference to the WixUI component dll.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan
Sent: Thursday, November 08, 2007 12:05 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

Hello, I have a product.wxs file properly defining where to place my program 
files via components in features and would like some kind of GUI to show up 
(Welcome, agreement, next, finish).  Following a tutorial I found online, I 
added these two lines to the bottom of my product definition:

UIRef Id=WixUI_Mondo /
UIRef Id=WixUI_ErrorProgressText /

When I compile, I now get these errors:

Error 2  Unresolved reference to symbol 'WixUI:WixUI_Minimal' in 
section 'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'.
Error 3  Unresolved reference to symbol 
'WixUI:WixUI_ErrorProgressText' in section 
'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'.

I'm using Votive 3.

What am I doing wrong here?

Thanks,
Alan S. Lanteigne | Channel Ready Solutions
phone  fax +1.317.715.8293| [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Interactive Intelligence Inc.
Deliberately Innovative
www.inin.comhttp://www.inin.com/

-
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


Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

2007-11-08 Thread Pierson Lee (Volt)
You have to add a reference to the WixUI component dll.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan
Sent: Thursday, November 08, 2007 12:05 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

Hello, I have a product.wxs file properly defining where to place my program 
files via components in features and would like some kind of GUI to show up 
(Welcome, agreement, next, finish).  Following a tutorial I found online, I 
added these two lines to the bottom of my product definition:

UIRef Id=WixUI_Mondo /
UIRef Id=WixUI_ErrorProgressText /

When I compile, I now get these errors:

Error 2  Unresolved reference to symbol 'WixUI:WixUI_Minimal' in 
section 'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'.
Error 3  Unresolved reference to symbol 
'WixUI:WixUI_ErrorProgressText' in section 
'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'.

I'm using Votive 3.

What am I doing wrong here?

Thanks,
Alan S. Lanteigne | Channel Ready Solutions
phone  fax +1.317.715.8293| [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Interactive Intelligence Inc.
Deliberately Innovative
www.inin.comhttp://www.inin.com/

-
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


Re: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

2007-11-08 Thread Pierson Lee (Volt)
No. sounds like a bad dll? Weird. You installed the latest version of Votive? 
Maybe try and reinstall it...


From: Lanteigne, Alan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 12:48 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: New to WIX, trying to get a UI to appear in my MSI

Oh, that kind of reference.  I was thinking too narrowly.  That gives me this 
error upon compilation:

Error 2  Not a valid object file; detail: Data at the root level is 
invalid. Line 1, position 1.   C:\Program Files\Windows Installer 
XML\bin\WixUIExtension.dll

Is that normal?


From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 3:44 PM
To: Lanteigne, Alan; wix-users@lists.sourceforge.net
Subject: RE: New to WIX, trying to get a UI to appear in my MSI

No.. In Visual Studio you need to add a reference to the UI dll.

So Project - Add Reference - WixUIExtension.dll

From: Lanteigne, Alan [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 12:16 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: New to WIX, trying to get a UI to appear in my MSI

Is that the area of the sample file here:


Component Id='HelperLibrary' 
Guid='YOURGUID-6BE3-460D-A14F-75658D16550B'

  File Id='HelperDLL' Name='Helper.dll' DiskId='1' 
Source='Helper.dll' Vital='yes' /

/Component

?


From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 3:13 PM
To: Lanteigne, Alan; wix-users@lists.sourceforge.net
Subject: RE: New to WIX, trying to get a UI to appear in my MSI

You have to add a reference to the WixUI component dll.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lanteigne, Alan
Sent: Thursday, November 08, 2007 12:05 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] New to WIX, trying to get a UI to appear in my MSI

Hello, I have a product.wxs file properly defining where to place my program 
files via components in features and would like some kind of GUI to show up 
(Welcome, agreement, next, finish).  Following a tutorial I found online, I 
added these two lines to the bottom of my product definition:

UIRef Id=WixUI_Mondo /
UIRef Id=WixUI_ErrorProgressText /

When I compile, I now get these errors:

Error 2  Unresolved reference to symbol 'WixUI:WixUI_Minimal' in 
section 'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'.
Error 3  Unresolved reference to symbol 
'WixUI:WixUI_ErrorProgressText' in section 
'Product:{43F2EAD8-70D1-41B6-9DB5-A5D4AD96BE83}'.

I'm using Votive 3.

What am I doing wrong here?

Thanks,
Alan S. Lanteigne | Channel Ready Solutions
phone  fax +1.317.715.8293| [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Interactive Intelligence Inc.
Deliberately Innovative
www.inin.comhttp://www.inin.com/

-
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


[WiX-users] IIS issues during install/uninstall

2007-11-07 Thread Pierson Lee (Volt)
Hello all-

I'm getting occasional (and increasingly frustrating) issues with IIS Web 
Site/applications and IIS Application Pools in IIS when using a WiX 3.0 Created 
MSI package where the sites/app pools are getting installed on the wrong level 
of the metabase then not uninstalling properly, causing reinstalls/upgrades to 
fail. (installing to a Windows 2003 Server x64bit running IIS 6.0)

Example (using adsutil ENUM /p W3SVC/3):

IIS Metabase (Correct)-

W3SVC/3/Root
W3SVC/3/Filters

IIS Metabase (Incorrect)-

W3SVC/3/Root
W3SVC/3/Filters
W3SVC/3/W3SVC

When I look under the last path ( adsutil ENUM /p W3SVC/3/W3SVC) it is showing

W3SVC/3/w3svc/3

Because of this, it is not fully uninstalling the site when the MSI is getting 
uninstalled.
I had the same issue with App Pools in IIS to the point where I took that part 
out of the WiX MSI and separated it into a C# application. I don't want to do 
that with the website because if I do, at that point, the MSI will just be a 
glorified xCopy.

Any help will be appreciated.  Code snippet (with names slightly changed) is 
provided below.

Thanks
Pierson

  Fragment

!-- Web Service Username/Password --
util:User Id=ProgramWebServiceUser 
Name=[PROGRAMSERVICE_USERNAME] Password=[PROGRAMSERVICE_PASSWORD] /

!-- Components and Directory Definitions --
!-- Web Directory Properties (same for all the sites) --
iis:WebDirProperties Id=WebAppProperties AnonymousAccess=no 
WindowsAuthentication=yes AccessSSL=yes Execute=yes Read=yes 
DefaultDocuments=Default.aspx Script=yes /

!-- Root Directory --
DirectoryRef Id=TARGETDIR
  Component Id=ProgramWebSiteComponent   Guid={GUID 
HERE}
!-- Web Settings --
iis:WebSite Id=ProgramWebSite Description=Program 
Website - [PROGRAMWEBSITE_STANDARD_PORT]/[PROGRAMWEBSITE_SECURE_PORT] 
Directory=WebDir DirProperties=WebAppProperties 
  iis:WebAddress 
Id=ProgramWebSiteAddress_Standard Port=[PROGRAMWEBSITE_STANDARD_PORT]  
Secure=no /
  iis:WebAddress Id=ProgramWebSiteAddress_Secure 
Port=[PROGRAMWEBSITE_SECURE_PORT] Secure=yes /
/iis:WebSite
  /Component
/DirectoryRef

DirectoryRef Id=TARGETDIR
  Component  Id=WebServiceConfigComponent   Guid={GUID 
HERE}}
iis:WebServiceExtension Id=ASP.NET2.0 Allow=yes 
File=%WINDIR%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll 
Description=ASP.NET v2.0.50727 UIDeletable=no /
  /Component
/DirectoryRef

!-- Assigning all the components for the UI to a single Component 
Group--
ComponentGroup Id=WebSite
  !-- Web site components--
  ComponentRef Id=ProgramWebSiteComponent /
  ComponentRef Id=WebServiceConfigComponent/
/ComponentGroup
  /Fragment

-
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


Re: [WiX-users] WiX v3: How to verify user name / password entered?

2007-10-04 Thread Pierson Lee (Volt)
The only thing I can think of is that if you specify the user account, and then 
as part of the MSI try and start the service, if the service start fails, I 
think the installer fails too.  (not a very good check, I  know).

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Petersen
Sent: Thursday, October 04, 2007 1:11 PM
To: Sunghwa Jin; WiX-users@lists.sourceforge.net
Subject: Re: [WiX-users] WiX v3: How to verify user name / password entered?

There are quite a few variations on this which can present some obstacles. Not 
sure how much control you have over the users that will be installing your 
package, but we had none.

1. Machine is on the domain and you pass in a domain account
2. Machine is not on the domain and you try to pass in a domain account
3. Machine is on the domain and you pass in a domain account that isn't part of 
the local user or admin groups
4. Machine is on the domain but the person doing the install tries to pass in a 
local non-domain account.

After many attempts to cover all the bases we finally decided to set our 
services to LocalSystem and then have the user change this as a post-install 
step. Makes the install a bit cleaner, too. Less dialogs the user has to be 
concerned with.


From: [EMAIL PROTECTED] on behalf of Sunghwa Jin
Sent: Thu 10/4/2007 10:52 AM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] WiX v3: How to verify user name / password entered?
Hi,

I have a setup dialog asking user name, domain and password for using it as a 
service account. Is there any way I can verify this info by actually attempting 
to log-on?

Thanks,
Sunghwa


-
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


Re: [WiX-users] Some STUPID Limitations in WiX

2007-09-25 Thread Pierson Lee (Volt)
Just FYI - The WiX toolset is used to help write custom MSI packages but still 
need to follow the underlying Windows Installer rules and guidelines. I don't 
think the issues that you are mentioning are issues that pertain only to WiX

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dong Fang Xie 
(Excell Data Corporation)
Sent: Tuesday, September 25, 2007 12:04 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Some STUPID Limitations in WiX

I'm working on a small and simple installer using WiX toolset (the latest 
stable version 2.0.3719.0). To my surprise, it is really very very tough !!  It 
almost drove me crazy.  I really don't understand why there are so many stupid 
limitations:

LIMIT 1:
Since FileSearch, DirectorySearch, RegistrySearch are WiX elements, Why there 
is no ProcessSearch or TaskSearch ?!I need to know whether a specific 
process is running before installation/uninstallation.

LIMIT 2:
If all files in a msi package are from different small projects, I can build a 
module for each small project, and create a main wxs file to merge all modules. 
It should be a good idea, but how can I use the files from different modules ?  
There is no way for now. I must control all custom actions in the main wxs 
file, and some custom actions need a FileKey to a file in a module. I cannot 
distribute all cutom actions in different modules, if I do so, how can I 
control the InstallSequence ? Using stupid numbers?

LIMIT 3:
I defined a dialog which must be shown not only during installation but also 
during uninstallation. But how to make it shown during uninstallation ?  the 
UILevel will be set to basic UI or no UI automatically by msiexec.exe.  How can 
I beg Windows NOT do that for me? I can use command msiexec /qf /x msifile, 
but how can I know my customer can do that each time they want to uninstall the 
msi file ?  Is there any way I can define UILevel of uninstallation inside msi 
file ?

WiX is a very good toolset, but far from perfect !  I bet the developers of WiX 
toolset have never built a powerful installer for customers.  I will never know 
the limit if I wasn't assigned the job to build a small and simple installer.

I noticed that there are some extensions in WiX 3.0, but it is still far from 
enough.

For LIMIT 1, I've built my own dll to detect running processes. But how to 
break LIMIT 2 and LIMIT 3 ?  Can you guys give me some ideas ?

Thanks in advance


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Upgrade guide / Existing components

2007-09-25 Thread Pierson Lee (Volt)
I'm looking to see if anyone has a good guide to writing upgrades. What I am 
attempting to do is upgrade certain components in my upgrade MSI if a previous 
version exists, but not deploy the other components. A specific example is my 
installer package installs a website that needs an SSL cert. The user needs to 
purchase/install the cert after the installation, but when the upgrade comes, 
if a previous version is installed, I don't want to install the Website 
component again, because it will lose the certificate that's already 
installed in the site. Is there a good way to do this?

Thanks in advance
Pierson
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)...

2007-08-21 Thread Pierson Lee (Volt)
Were these changes made to  version 3 also?


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: Thursday, August 16, 2007 12:46 PM
To: Surendra Katari; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' 
key, retrying 0 time(s)...

There were bugs that were fixed in the last couple months around this sort of 
thing.  I highly recommend you get the latest stable build.

From: Surendra Katari
Sent: Thursday, August 16, 2007 12:44 PM
To: Rob Mensching; wix-users@lists.sourceforge.net
Cc: Marc McClure
Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' 
key, retrying 0 time(s)...

2.0.5210.0

From: Rob Mensching
Sent: Thursday, August 16, 2007 12:44 PM
To: Surendra Katari; wix-users@lists.sourceforge.net
Cc: Marc McClure
Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' 
key, retrying 0 time(s)...

What version of the WiX toolset are you using?

From: Surendra Katari
Sent: Thursday, August 16, 2007 9:38 AM
To: Rob Mensching; wix-users@lists.sourceforge.net
Cc: Marc McClure
Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' 
key, retrying 0 time(s)...

When every we see these messages, most of the times, the web sites are not 
created. But install completes successfully.  When we try to uninstall of the 
product it fail because the sites are not present.  Any work around to avoid 
this situation?

Thanks,
Surendra

From: Rob Mensching
Sent: Thursday, August 16, 2007 7:24 AM
To: Surendra Katari; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' 
key, retrying 0 time(s)...

IIS has this strange locking behavior on Metabase keys that would often mess 
with deployment (since we often touch so many different keys).  What you're 
seeing is an informational message that a retry was necessary and if things 
proceeded without failure then that last retry was successful.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Surendra Katari
Sent: Wednesday, August 15, 2007 4:17 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WriteMetabaseChanges: failed to open '/LM/W3SVC/4/' key, 
retrying 0 time(s)...


Hi all,

We create a MSI which configures couple of websites and application pools. Some 
time the installer fail to create the Websites without any errors. But we see 
the following messages in the MSI log when this happens, but setup completes 
successfully.

WriteMetabaseChanges:  failed to open '/LM/W3SVC/4/' key, retrying 0 time(s)...

Are there any specific reasons for this error messages?  Why setup fail or 
rollback in this when WriteMetabaseChanges:  failed to open '/LM/W3SVC/4/' key?


Thanks,
Surendra
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
Office: 425-705-5079
Mobile: 425-830-1917
-
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


[WiX-users] Msi admin (/x) versus regular (/i) install and IIS

2007-08-17 Thread Pierson Lee (Volt)
Are there any weird issues that anyone knows of with WiX Msis installing IIS 
app pools and sites through Admin (/x) installs? I'm doing it and it seems to 
be putting the keys in the IIS metabase for the App Pool values in places where 
it causes my App Pools to come up with Invalid Application Pools in IIS 
manager. Maybe one out of every 8-10 installs actually goes through fine. If I 
do the same exact install through regular (/i) install, it works fine 
consistently.

Using x64 Windows 2003 with WIx 3.0

Any ideas?

Thanks
Pierson
-
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


Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

2007-08-13 Thread Pierson Lee (Volt)
Hmm. I am wondering if it is the host header then, because this is just a 
recent problem that's shown up and the other 4 sites uninstall properly, it is 
just this one package.

From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 3:38 PM
To: Pierson Lee (Volt); 'david adams'; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Wierd IIS issue with Wix install/uninstall

As I said, because it doesn't remember the ID number. It's trying to look up 
which one to uninstall based on those three properties: IP, port, and host 
header.

Another case where it gets confused is if you have another site with the same 
properties which is disabled.

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: 10 August 2007 23:31
To: david adams; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

I can see where this would be an issue of the IP address changing, but my issue 
is with the w3svc ID number that gets assigned and why the MSI thinks it's a 
different number during uninstall then it was during the install portion.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of david adams
Sent: Friday, August 10, 2007 3:15 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

We overcome this issue by setting the install IP address to a property value.  
The property value is set (for default purposes) within the WiX file; however, 
we have added a custom dialog that allows the Install User to override the 
property value with a User-input one.

Whether the default value or a User-input one is the actual IP address used, we 
persist the value to the machine registry for use on uninstall.

Note: This does introduce a risk if someone invalidates the value in the 
registry, but we accept that risk for the benefit installing to IP addresses 
that may be unknown at the time that the MSI is built.


Property Id=WEBADDRESSIP_DEV Value=10.1.20.84
   RegistrySearch Id=DevIpSearch Root=HKLM 
Key=SOFTWARE\Crawford\[APPREGKEY]\IpAddresses Name=Development Type=raw /
/Property
Component Id=CreateTemplateAppPool 
Guid=0D9804CB-CEE4-4D2D-8B9B-A8455AC035E4
WebAppPool Id=TemplateAppPool Identity=networkService IdleTimeout=20 
MaxWorkerProcesses=1 Name=[APPPOOLNAME] QueueLimit=4000 
RecycleMinutes=1740 /
/Component
Component Id=CreateTemplateWebSiteDev 
Guid=54A19EA6-828D-45CA-9CB4-06E989E0CB66
WebSite Id=TemplateWebSiteDev AutoStart=no ConnectionTimeout=120 
Description=[WEBSITEDESC] Directory=INSTALLLOCATION StartOnInstall=no 
DirProperties=VDirProperties
 WebAddress Id=TemplateWebAddressDev IP=[WEBADDRESSIP_DEV] Port=80 /
 WebApplication Id=TemplateWebApplicationDev AllowSessions=yes 
Buffer=yes ClientDebugging=no DefaultScript=VBScript 
Name=[WEBAPPLICATIONNAME] ServerDebugging=no SessionTimeout=20 
WebAppPool=TemplateAppPool /
/WebSite
/Component
Component Id=CreateWebSiteDevKey Guid=A89D6667-C0F1-485C-9F2B-3A65F9676920
Registry Id=WebSiteDevKey Root=HKLM 
Key=SOFTWARE\Crawford\[APPREGKEY]\IpAddresses Name=Development 
Action=write Type=string Value=[WEBADDRESSIP_DEV] /
/Component

David Adams, MCSD
MSN MessengerID: [EMAIL PROTECTED]

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Date: Fri, 10 Aug 2007 23:04:28 +0100
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

WiX only looks at the combination of IP address(es), port number, and Host 
header. If any of those have been changed post-installation, the custom action 
may either not uninstall or uninstall the wrong site.



The problem here is that IIS's metabase schema does not offer anywhere for WiX 
to put a cookie that the user cannot subsequently edit (there is a Comment 
field but that's user-editable). In theory, WiX should generate the site number 
and store it elsewhere (e.g. in the registry), but the current WiX schema 
doesn't allow you to specify a registry path to store it in.



--

Mike Dimmick





From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: 10 August 2007 21:27
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wierd IIS issue with Wix install/uninstall



I am currently installing 4 sites packaged with WiX. I have it installing 
app_pools, sites and the necessary files and file structures with each of these 
4 on the same server. I noticed some weird behavior today, particularly in 
uninstallation.



When I go to uninstall one of my sites, its not deleting the right metabase 
path.



So for instance, I install SiteA, SiteB, SiteC, and SiteD. When installing they 
are installed in W3SVC/2, 3, 4 and 5 respectively. (I don't know why they are 
always sequential starting at the lowest possible number, but that seems to be 
a feature of WiX). When

Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

2007-08-13 Thread Pierson Lee (Volt)
Well, heres the kicker, I don't set the HH or the IP ( I assume it's the local 
machine). The only thing I set is the port.  L

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of david adams
Sent: Monday, August 13, 2007 9:09 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

I would suspect that it is something with that site.

It is probably either a) the IP address / Port / [Host Header, if used] has 
been changed; at which, the installer would not be able to identify it in IIS 
or b) for whatever reason, another site has been added that has the same IP 
address / Port / [Host Header] combination  one of them is disabled.

Under b), the search for the site matching the criteria would return an array, 
but the function would always return the 1st one (and possibly, not the right 
one) as the target of the installer action.

I'd make sure that the IP / Port / HH info is correct in the installer 
defintion (wxs) and that there is not another web site on the server that has 
matching info.

David Adams, MCSD
MSN MessengerID: [EMAIL PROTECTED]


From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Date: Mon, 13 Aug 2007 08:45:50 -0700
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

Hmm. I am wondering if it is the host header then, because this is just a 
recent problem that's shown up and the other 4 sites uninstall properly, it is 
just this one package.



From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 3:38 PM
To: Pierson Lee (Volt); 'david adams'; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Wierd IIS issue with Wix install/uninstall



As I said, because it doesn't remember the ID number. It's trying to look up 
which one to uninstall based on those three properties: IP, port, and host 
header.



Another case where it gets confused is if you have another site with the same 
properties which is disabled.



--

Mike Dimmick





From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: 10 August 2007 23:31
To: david adams; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall



I can see where this would be an issue of the IP address changing, but my issue 
is with the w3svc ID number that gets assigned and why the MSI thinks it's a 
different number during uninstall then it was during the install portion.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of david adams
Sent: Friday, August 10, 2007 3:15 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall



We overcome this issue by setting the install IP address to a property value.  
The property value is set (for default purposes) within the WiX file; however, 
we have added a custom dialog that allows the Install User to override the 
property value with a User-input one.

Whether the default value or a User-input one is the actual IP address used, we 
persist the value to the machine registry for use on uninstall.

Note: This does introduce a risk if someone invalidates the value in the 
registry, but we accept that risk for the benefit installing to IP addresses 
that may be unknown at the time that the MSI is built.


Property Id=WEBADDRESSIP_DEV Value=10.1.20.84
   RegistrySearch Id=DevIpSearch Root=HKLM 
Key=SOFTWARE\Crawford\[APPREGKEY]\IpAddresses Name=Development Type=raw /
/Property
Component Id=CreateTemplateAppPool 
Guid=0D9804CB-CEE4-4D2D-8B9B-A8455AC035E4
WebAppPool Id=TemplateAppPool Identity=networkService IdleTimeout=20 
MaxWorkerProcesses=1 Name=[APPPOOLNAME] QueueLimit=4000 
RecycleMinutes=1740 /
/Component
Component Id=CreateTemplateWebSiteDev 
Guid=54A19EA6-828D-45CA-9CB4-06E989E0CB66
WebSite Id=TemplateWebSiteDev AutoStart=no ConnectionTimeout=120 
Description=[WEBSITEDESC] Directory=INSTALLLOCATION StartOnInstall=no 
DirProperties=VDirProperties
 WebAddress Id=TemplateWebAddressDev IP=[WEBADDRESSIP_DEV] Port=80 /
 WebApplication Id=TemplateWebApplicationDev AllowSessions=yes 
Buffer=yes ClientDebugging=no DefaultScript=VBScript 
Name=[WEBAPPLICATIONNAME] ServerDebugging=no SessionTimeout=20 
WebAppPool=TemplateAppPool /
/WebSite
/Component
Component Id=CreateWebSiteDevKey Guid=A89D6667-C0F1-485C-9F2B-3A65F9676920
Registry Id=WebSiteDevKey Root=HKLM 
Key=SOFTWARE\Crawford\[APPREGKEY]\IpAddresses Name=Development 
Action=write Type=string Value=[WEBADDRESSIP_DEV] /
/Component

David Adams, MCSD
MSN MessengerID: [EMAIL PROTECTED]



From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Date: Fri, 10 Aug 2007 23:04:28 +0100
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

WiX only looks at the combination of IP address(es), port number, and Host 
header

Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

2007-08-13 Thread Pierson Lee (Volt)
Ok, I have found the exact problem now, and am looking for a fix.

I set my port number via a property [PORT_NO] that is set to a default value 
(say 8090) that the user then has the option of changing through the UI. If the 
port number is not changed, it uninstalls properly, but if it is changed(say 
the user wants it at 8091) then the site installs properly, but won't uninstall.

Is this because the uninstall process looks at my default value? If so, do I 
need to store it in registry so that the uninstall process grabs the port 
number?

Thanks
Pierson

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of david adams
Sent: Monday, August 13, 2007 10:01 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

Lee:

If you only set the port (and do nothing with the IP  Host Header), I would 
bet that there is another site using the same Port Number.  I would think that 
it has to be the case if other installers are working fine.

My advice: Check the sites in IIS (or have someone with the permissions do it). 
 You are looking for another site (active or disabled) that uses the same Port 
Number (on the same IP).

David Adams, MCSD
MSN MessengerID: [EMAIL PROTECTED]


From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Date: Mon, 13 Aug 2007 09:33:49 -0700
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

Well, heres the kicker, I don't set the HH or the IP ( I assume it's the local 
machine). The only thing I set is the port.  :(



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of david adams
Sent: Monday, August 13, 2007 9:09 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall



I would suspect that it is something with that site.

It is probably either a) the IP address / Port / [Host Header, if used] has 
been changed; at which, the installer would not be able to identify it in IIS 
or b) for whatever reason, another site has been added that has the same IP 
address / Port / [Host Header] combination  one of them is disabled.

Under b), the search for the site matching the criteria would return an array, 
but the function would always return the 1st one (and possibly, not the right 
one) as the target of the installer action.

I'd make sure that the IP / Port / HH info is correct in the installer 
defintion (wxs) and that there is not another web site on the server that has 
matching info.

David Adams, MCSD
MSN MessengerID: [EMAIL PROTECTED]



From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Date: Mon, 13 Aug 2007 08:45:50 -0700
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

Hmm. I am wondering if it is the host header then, because this is just a 
recent problem that's shown up and the other 4 sites uninstall properly, it is 
just this one package.



From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 3:38 PM
To: Pierson Lee (Volt); 'david adams'; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Wierd IIS issue with Wix install/uninstall



As I said, because it doesn't remember the ID number. It's trying to look up 
which one to uninstall based on those three properties: IP, port, and host 
header.



Another case where it gets confused is if you have another site with the same 
properties which is disabled.



--

Mike Dimmick





From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: 10 August 2007 23:31
To: david adams; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall



I can see where this would be an issue of the IP address changing, but my issue 
is with the w3svc ID number that gets assigned and why the MSI thinks it's a 
different number during uninstall then it was during the install portion.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of david adams
Sent: Friday, August 10, 2007 3:15 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wierd IIS issue with Wix install/uninstall



We overcome this issue by setting the install IP address to a property value.  
The property value is set (for default purposes) within the WiX file; however, 
we have added a custom dialog that allows the Install User to override the 
property value with a User-input one.

Whether the default value or a User-input one is the actual IP address used, we 
persist the value to the machine registry for use on uninstall.

Note: This does introduce a risk if someone invalidates the value in the 
registry, but we accept that risk for the benefit installing to IP addresses 
that may be unknown at the time that the MSI is built.


Property Id=WEBADDRESSIP_DEV Value=10.1.20.84
   RegistrySearch Id=DevIpSearch Root=HKLM 
Key=SOFTWARE

[WiX-users] Wierd IIS issue with Wix install/uninstall

2007-08-10 Thread Pierson Lee (Volt)
I am currently installing 4 sites packaged with WiX. I have it installing 
app_pools, sites and the necessary files and file structures with each of these 
4 on the same server. I noticed some weird behavior today, particularly in 
uninstallation.

When I go to uninstall one of my sites, its not deleting the right metabase 
path.

So for instance, I install SiteA, SiteB, SiteC, and SiteD. When installing they 
are installed in W3SVC/2, 3, 4 and 5 respectively. (I don't know why they are 
always sequential starting at the lowest possible number, but that seems to be 
a feature of WiX). When uninstalling SiteC (which was installed at W3SVC/4) it 
is attempting to uninstall the metabase path at W3SVC/2.

I've caught it doing this a couple times now and I would like to know A) where 
does it look to determine where the site was installed at and B) how to 
fix/prevent this.

Thanks
-
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


Re: [WiX-users] Wierd IIS issue with Wix install/uninstall

2007-08-10 Thread Pierson Lee (Volt)
The issue I have with this is that I'm not making any changes. I install, then 
uninstall (testing the deployment) and all I do Is the install, then the 
uninstall and still it does the same thing.

Any other ideas maybe?

From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Friday, August 10, 2007 3:04 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Wierd IIS issue with Wix install/uninstall

WiX only looks at the combination of IP address(es), port number, and Host 
header. If any of those have been changed post-installation, the custom action 
may either not uninstall or uninstall the wrong site.

The problem here is that IIS's metabase schema does not offer anywhere for WiX 
to put a cookie that the user cannot subsequently edit (there is a Comment 
field but that's user-editable). In theory, WiX should generate the site number 
and store it elsewhere (e.g. in the registry), but the current WiX schema 
doesn't allow you to specify a registry path to store it in.

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: 10 August 2007 21:27
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wierd IIS issue with Wix install/uninstall

I am currently installing 4 sites packaged with WiX. I have it installing 
app_pools, sites and the necessary files and file structures with each of these 
4 on the same server. I noticed some weird behavior today, particularly in 
uninstallation.

When I go to uninstall one of my sites, its not deleting the right metabase 
path.

So for instance, I install SiteA, SiteB, SiteC, and SiteD. When installing they 
are installed in W3SVC/2, 3, 4 and 5 respectively. (I don't know why they are 
always sequential starting at the lowest possible number, but that seems to be 
a feature of WiX). When uninstalling SiteC (which was installed at W3SVC/4) it 
is attempting to uninstall the metabase path at W3SVC/2.

I've caught it doing this a couple times now and I would like to know A) where 
does it look to determine where the site was installed at and B) how to 
fix/prevent this.

Thanks
-
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


Re: [WiX-users] How to change TARGETDIR to e drive

2007-07-30 Thread Pierson Lee (Volt)
I would assume from part 1 you would have to find some way of determining drive 
E versus D/C prior to install or checking to see if it is available. I 
struggled with this also and have made it something that the user will need to 
input during the installation UI. But if you're trying to look for a package 
deal, you may want to see if there is a reg key somewhere specifying the 
secondary drive and do a registry search and assign that value to the TARGETDIR 
Property.

2. I don't think you can change it more than once (although trial and error 
might be your best test for this one) because you're specifying everything 
prior to the part where it is installing the files and not during the 
installfiles step.

From: Ravit Shapira
Sent: Monday, July 30, 2007 2:35 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: Re: [WiX-users] How to change TARGETDIR to e drive

Thanks!


 1.  I've noticed that if I run the setup on a computer that has only a C drive 
I have to run it using msiexec with the parameter TARGETDIR=e:\ for both 
install and uninstall, otherwise I get an error that says it cannot find e:\. 
How can we make a general solution for both computers - one that has both e and 
c drives and one that has only c drive? My goal is to install our stuff on E if 
e drive exists and on C if not without using msiexec (only double click).
 2.  What if in the same setup I have two folders that need to be created: one 
on E drive and one on D drive, is it okay to change the property TARGETDIR 
twice in the same msi?

Ravit


From: Pierson Lee (Volt)
Sent: Thursday, July 26, 2007 11:35 AM
To: Ravit Shapira; wix-users@lists.sourceforge.net
Subject: RE: Re: [WiX-users] How to change TARGETDIR to e drive

You don't need it as a custom action. Just specify a property Property 
Id=TARGETDIRe:\/Property



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravit Shapira
Sent: Tuesday, July 24, 2007 11:46 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to change TARGETDIR to e drive

 Hi,

I want to add to my previous email that if I run the installation using:  
msiexec /i MySetup.msi TARGETDIR=e:\ it does installs what I need under e 
drive.
However, my goal is to run the setup without passing any parameters - simply to 
double click on the msi file.

Thanks,
Ravit

From: Ravit Shapira
Sent: Tuesday, July 24, 2007 11:38 PM
To: 'wix-users@lists.sourceforge.net'
Subject: How to change TARGETDIR to e drive

 Hi,

I'm trying to change TARGETDIR to e drive.  I tried to do the following but it 
installs under c drive.

CustomAction Id=AssignEDir2INSTALLDIR Directory=TARGETDIR Value=E:\ 
Execute=firstSequence /
InstallExecuteSequence
  Custom Action=AssignEDir2INSTALLDIR 
After=CostFinalizeTARGETDIR=E:\/Custom
/InstallExecuteSequence

I ran the installation using msiexec and created a log file. I looked for the 
action: AssignEDir2INSTALLDIR and it says that it is skipped due to false 
condition.


 1.  Do you have an explanation why the condition is false? I do have e drive 
in the computer that I use.
 2.  How can I fix this problem? All I need is to change the default value of 
TARGETDIR from c:\ to e:\


Thank you in advance,
Ravit


-
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


Re: [WiX-users] Error code 2753?

2007-07-27 Thread Pierson Lee (Volt)
If you think it is already installed, you can check the registry for a key that 
shows it installed and make that key the condition on whether or not you 
install your file


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jcafaro10
Sent: Friday, July 27, 2007 6:43 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Error code 2753?


Well I'm sure that my system has .NET on it so is there a conditional
check I'd add somewhere to not try and install it if I already have it?


Wilson, Phil wrote:

 This error usually refers to a custom action that's running an exe
 that's being installed with the product, but isn't installed for some
 reason (perhaps because the exe is already on the system and won't be
 replaced because of versioning rules). So it can't run the exe from
 your package because it's not being installed. There are other
 variations, but they all come down to trying to run a custom action of

 a file that you're not actually installing.

 Phil Wilson


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 jcafaro10
 Sent: Thursday, July 26, 2007 2:48 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Error code 2753?


 Trying to get my installer to work.  It works for the main files but
 there are some files I don't want to install unless I click Complete
 (as Opposed to typical, I'm using mondo).  It copies the files
 correctly regardless but when I also want it to run the ones that it
 copies.  I think the problem is because of TypicalDefault=advertise
 but isn't that how I set a feature to not be installed typically but
 only under comlpete? Example:

 Directory Id=dotnetfx Name=dotnetfx
   Component Id=dotnetfx.exe
 Guid={3AF116C7-E703-4F4D-B7BC-B9D4C0E0F093}
 File Id=dotnetfxexe Name=dotnetfx.exe
KeyPath=yes
 Source=C:\tfs\ChannelBox\prereq\dotnetfx\dotnetfx.exe /
   /Component
 /Directory
 --
 Feature Id='dotnetfx' Title='Microsoft .NET Framework' Level=1
 TypicalDefault=advertise
 ComponentRef Id=dotnetfx.exe / /Feature
 --
 CustomAction
 Id=DotNetInstall
 FileKey=dotnetfxexe
 ExeCommand=deferred
 Return=ignore /

 InstallExecuteSequence
   Custom
   Action=DotNetInstall
   After=InstallFinalize

   /Custom
 /InstallExecuteSequence
 --
 View this message in context:
 http://www.nabble.com/Error-code-2753--tf4154344.html#a11819770
 Sent from the wix-users mailing list archive at Nabble.com.


 --
 --
 -
 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



 --
 --- 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



--
View this message in context:
http://www.nabble.com/Error-code-2753--tf4154344.html#a11829340
Sent from the wix-users mailing list archive at Nabble.com.



-
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



-
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

-
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 

Re: [WiX-users] Error code 2753?

2007-07-27 Thread Pierson Lee (Volt)
Anything that runs a Windows installer based install won't work because windows 
installer doesn't like running multiple instances simultaneously. The only way 
I've been able to trick it is to get the subsequent msi to kick off at the 
end(very end) of the installation process but it sounds like that wouldn't be a 
good idea in your case with you deploying a multitude of items. What are you 
attempting to do? Write an installer that installs all of your components?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jcafaro10
Sent: Friday, July 27, 2007 12:07 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Error code 2753?


Are there any other things it will never ever work for?  Because I've
commented out .net, and I still am installing itechlogger and microsoft sql


Mike Dimmick-2 wrote:

 That will never, ever work for the .NET Framework. .NET Framework is an
 MSI-based install, so you can't run it nested inside another MSI anyway.
 It
 also has to play some peculiar tricks with the Windows Installer service
 to
 get updated versions of Fusion (the assembly loader) on there, as I
 recall.

 No options: you MUST use a bootstrapper to get the .NET Framework
 installed.

 --
 Mike Dimmick

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of jcafaro10
 Sent: 26 July 2007 22:48
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Error code 2753?


 Trying to get my installer to work.  It works for the main files but there
 are some files I don't want to install unless I click Complete (as Opposed
 to typical, I'm using mondo).  It copies the files correctly regardless
 but
 when I also want it to run the ones that it copies.  I think the problem
 is
 because of TypicalDefault=advertise but isn't that how I set a feature
 to
 not be installed typically but only under comlpete? Example:

 Directory Id=dotnetfx Name=dotnetfx
   Component Id=dotnetfx.exe
 Guid={3AF116C7-E703-4F4D-B7BC-B9D4C0E0F093}
 File Id=dotnetfxexe Name=dotnetfx.exe KeyPath=yes
 Source=C:\tfs\ChannelBox\prereq\dotnetfx\dotnetfx.exe /
   /Component
 /Directory
 --
 Feature Id='dotnetfx' Title='Microsoft .NET Framework' Level=1
 TypicalDefault=advertise
 ComponentRef Id=dotnetfx.exe /
 /Feature
 --
 CustomAction
 Id=DotNetInstall
 FileKey=dotnetfxexe
 ExeCommand=deferred
 Return=ignore /

 InstallExecuteSequence
   Custom
   Action=DotNetInstall
   After=InstallFinalize

   /Custom
 /InstallExecuteSequence
 --
 View this message in context:
 http://www.nabble.com/Error-code-2753--tf4154344.html#a11819770
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 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


 -
 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



--
View this message in context: 
http://www.nabble.com/Error-code-2753--tf4154344.html#a11835135
Sent from the wix-users mailing list archive at Nabble.com.


-
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

-
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


Re: [WiX-users] Administrative install and File/Folder Sharing

2007-07-26 Thread Pierson Lee (Volt)
From my understand of reading MSIExec's help file (and I might be totally 
wrong) the /a flag (for admin install) is for a network install. If that's the 
case with the CA not running, why would it then generate an error message?

Is it possible to run the util:FileShare as a local admin instead of as the 
installer of the MSI? I know with regular CA's you can impersonate.

The message I get in the log is below:

CreateSmb:  Error 0x80004005: Failed to create/modify file share: Err: 5
CreateSmb:  Error 0x80004005: failed to create to share: 'EmailShare'
MSI (s) (14!0C) [11:27:05:350]: Product: WebService -- Error 26301. Failed to 
create network share.  (-2147467259   EmailShare  )

Error 26301. Failed to create network share.  (-2147467259   EmailShare  )

And during rollback I get:

MSI (s) (14:8C) [11:27:05:522]: Executing op: 
FolderRemove(Folder=E:\Web\EmailShare\,Foreign=0)
MSI (s) (14:8C) [11:27:05:522]: Note: 1: 1321 2: E:\Web\EmailShare\
DEBUG: Error 2911:  Could not remove the folder E:\Web\EmailShare\.
The installer has encountered an unexpected error installing this package. This 
may indicate a problem with this package. The error code is 2911. The arguments 
are: E:\Web\EmailShare\, ,

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 26, 2007 1:09 PM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Administrative install and File/Folder Sharing

Pierson Lee (Volt) wrote:
I'm doing a remote admin installation using an internal MSI deployment tool. My 
problem is that when I go to set the folder permissions for a FileShare it's 
telling me I don't have permissions to do this.

Administrative installations are basically just extracting compressed data into 
the destination tree. None of the WiX custom actions operate during admin 
installs.


--

sig://boB

http://joyofsetup.com/
-
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


Re: [WiX-users] How to change TARGETDIR to e drive

2007-07-26 Thread Pierson Lee (Volt)
You don't need it as a custom action. Just specify a property Property 
Id=TARGETDIRe:\/Property



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravit Shapira
Sent: Tuesday, July 24, 2007 11:46 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to change TARGETDIR to e drive

 Hi,

I want to add to my previous email that if I run the installation using:  
msiexec /i MySetup.msi TARGETDIR=e:\ it does installs what I need under e 
drive.
However, my goal is to run the setup without passing any parameters - simply to 
double click on the msi file.

Thanks,
Ravit

From: Ravit Shapira
Sent: Tuesday, July 24, 2007 11:38 PM
To: 'wix-users@lists.sourceforge.net'
Subject: How to change TARGETDIR to e drive

 Hi,

I'm trying to change TARGETDIR to e drive.  I tried to do the following but it 
installs under c drive.

CustomAction Id=AssignEDir2INSTALLDIR Directory=TARGETDIR Value=E:\ 
Execute=firstSequence /
InstallExecuteSequence
  Custom Action=AssignEDir2INSTALLDIR 
After=CostFinalizeTARGETDIR=E:\/Custom
/InstallExecuteSequence

I ran the installation using msiexec and created a log file. I looked for the 
action: AssignEDir2INSTALLDIR and it says that it is skipped due to false 
condition.


 1.  Do you have an explanation why the condition is false? I do have e drive 
in the computer that I use.
 2.  How can I fix this problem? All I need is to change the default value of 
TARGETDIR from c:\ to e:\


Thank you in advance,
Ravit


-
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


[WiX-users] Administrative install and File/Folder Sharing

2007-07-26 Thread Pierson Lee (Volt)
I'm doing a remote admin installation using an internal MSI deployment tool. My 
problem is that when I go to set the folder permissions for a FileShare it's 
telling me I don't have permissions to do this.

Is there an easy way to elevate the MSI installation so that it will attempt to 
setup the share using local admin privileges? If I assign the tool's user's 
permission ( which is what the tool uses to install the msi) to the folder, it 
works, but then I have to remove those permissions, which makes it a hassle.


Using Wix 3, code is below. Thanks - Pierson

  Directory Id=EmailShareDir Name=EmailShare
Component Id=EmailShareComponent 
Guid={----}
  CreateFolder Directory=EmailShareDir

Permission User=[SERVICE_USERNAME] 
GenericAll=yes TakeOwnership=yes/
  /CreateFolder
  util:FileShare Id=EmailShareFileShare 
Name=EmailShare Description=Email Share 
util:FileSharePermission User=ShareUser 
GenericAll=yes TakeOwnership=yes /
  /util:FileShare
/Component
  /Directory
-
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


Re: [WiX-users] getting data from ini or (failing that) the user

2007-07-26 Thread Pierson Lee (Volt)
You can't set the installUI level (as I've been told) via the MSI. If you have 
a UI, it will be called. You can condition the UI to pop up particular screens 
if an INI file is not available, but the base UI screen (welcomedlg) will still 
be brought up in both cases.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexei
Sent: Thursday, July 26, 2007 9:13 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] getting data from ini or (failing that) the user


Hey all,
just wondering if it is possible to have an install read values and assign
them to properties if there is the appropriate .ini file but if the file can
not be found to go ahead and display the GUI (which will then be able to get
the data from the user).
The thing I'd like is to have this sort of
if (file found)
   get data from file
else
   get data from GUI

flow in the install, without having to create two separate installers.

Thanks in advance.
--
View this message in context: 
http://www.nabble.com/getting-data-from-ini-or-%28failing-that%29-the-user-tf4152625.html#a11813818
Sent from the wix-users mailing list archive at Nabble.com.


-
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

-
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


Re: [WiX-users] Unable to Pass Parameters via MsiInstallProductW(Path_TO_MSI, CMDLINE)

2007-07-26 Thread Pierson Lee (Volt)
Public properties in WiX are specified by the fact that the Property Id (the 
name) is all in Caps

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Magus
Sent: Thursday, July 26, 2007 12:02 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Unable to Pass Parameters via 
MsiInstallProductW(Path_TO_MSI, CMDLINE)


How do I make a property Public?  Or are there only certain public
properties?

Christopher Painter wrote:

 Only public properties can be passed via the command line.  Also you
 probably want to set the TRANSFORMS property not the TRANSFORM property.

 Magus [EMAIL PROTECTED] wrote:
 I have a bootstrapper that is suppose to set 2 properties via command
 line,
 however none of the properties that I set in the Cmdline are being set. Is
 there something I am doing wrong?

 CMDLINE = PropertyA=18 PropertyB=C:\Temp TRANSFORM=KOREAN.mst
 --
 View this message in context:
 http://www.nabble.com/Unable-to-Pass-Parameters-via-MsiInstallProductW%28Path_TO_MSI%2C-CMDLINE%29-tf4153410.html#a11816638
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 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



 -
 Pinpoint customers who are looking for what you sell.
 -
 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



--
View this message in context: 
http://www.nabble.com/Unable-to-Pass-Parameters-via-MsiInstallProductW%28Path_TO_MSI%2C-CMDLINE%29-tf4153410.html#a11817009
Sent from the wix-users mailing list archive at Nabble.com.


-
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

-
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


Re: [WiX-users] Add Registry Value to a variable

2007-07-20 Thread Pierson Lee (Volt)
You need to do a registrysearch. Look at registrysearch in the documentation

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin 
Österreicher
Sent: Friday, July 20, 2007 2:42 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Add Registry Value to a variable

Hello!

How can I read out a Registry Value and put it into a variable?

I would be so grateful, if you could help me!

--
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to deploy all the files inside the folder rather than specifying each files

2007-07-19 Thread Pierson Lee (Volt)
There is not a way to specify a directory. You will need to specify each file 
explicitly to have it be part of the installation

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lingappa
Sent: Thursday, July 19, 2007 3:48 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to deploy all the files inside the folder rather than 
specifying each files

Hi, I need to specify contents of whole directory needs to be installed instead 
specifying each file names. Currently i am using like mentioned below: ... ... 
... ...  I need to specify all the files. Problem any file is being added 
to the directory again i need to add the file in the wxs source. Is there a to 
specify the directory instead of files? Your help will be greatly appreciate. 
Thanks in advance. Regards, Lingappa

View this message in context: How to deploy all the files inside the folder 
rather than specifying each 
fileshttp://www.nabble.com/How-to-deploy-all-the-files-inside-the-folder-rather-than-specifying-each-files-tf4109546.html#a11686200
Sent from the wix-users mailing list 
archivehttp://www.nabble.com/wix-users-f4470.html at Nabble.com.
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditionally edit XML file if it is installed

2007-07-19 Thread Pierson Lee (Volt)
Would it be worthwhile to do a filesearch and if it doesn't exist to then 
install the component and change the file (in a different feature)?

That would be the way I'd do it, but I have yet to use the NeverOverwrite 
option.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnette, Bill
Sent: Thursday, July 19, 2007 7:14 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Conditionally edit XML file if it is installed


I am trying to have my installer edit an XML file after it is installed.
However, the XML file should not be installed or edited if it already
exists on the system.  So I am trying to condition the installation of
the XML editing component on the state/action of the component which
contains the XML file to be edited.  But its not working.

I am seeing some conflicting info in the Windows Installer documentation
that in one place states the component state can only be used in the
condition table and the sequence tables, while the Component table
documentation states that the Condition column accepts conditional
expressions containing references to the installed states of features
and components

So which is it?
Any idea what I'm doing wrong?


Directory Id=INSTALLDIR Name=FrzFrame LongName=StarWitness
FreezeFrame
   Component Id=c_SysConfig_xml
Guid=0AD3B4EF-331D-4018-9694-7C738D13F86F
DiskId=1 NeverOverwrite=yes Permanent=yes
 File Id=f_SysConfig_xml Name=SysConf.xml
LongName=SysConfig.xml KeyPath=yes
  Source=$(var.stageDir)\SysConfig.xml /
   /Component

   Component Id=c_EditSysConfig_xml
Guid=426C9462-C96C-4abe-8665-89523F9725C6 DiskId=1
  !-- Only edit the sysconfig.xml file if it is being installed
--
  Condition ![CDATA[$c_SysConfig_xml=3]]/Condition

  XmlFile Id=xml_SetCaseRootDir File=[#f_SysConfig_xml]
 ElementPath=//configuration/caseRootDir
Value=[DATAFILESTOREDIR]
 Action=setValue Sequence=1/
  XmlFile Id=xml_SetCaptureDir File=[#f_SysConfig_xml]
 ElementPath=//configuration/captureDir
Value=[MEDIAFILESTOREDIR]
 Action=setValue Sequence=2/
  XmlFile Id=xml_SetTempDir File=[#f_SysConfig_xml]
 ElementPath=//configuration/tempDir Value=[TEMPDIR]
 Action=setValue Sequence=3/
   /Component
/Directory



--
Bill Arnette
Principal Software Developer
StarWitness Business Unit
Signalscape, Inc.
www.starwitness.com


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to call an exe

2007-07-17 Thread Pierson Lee (Volt)
Binary Key - takes a binary tag with a dll/exe and will run it without 
extracting/installing it (the Binary is only valid at installtime)
File key - an extracted file that you need to access at install time also. 
This file will also be available after installation as per your file tag.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of srinivas nomu
Sent: Tuesday, July 17, 2007 2:33 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to call an exe

I really fed up working with .dll as there is no debug available. Now I created 
an .exe with the same code.

From the command line the usage is as folows:
write.lic.exe 61177-1128925439-1187326800 9.0

I need to pass the CD-Label key in the first argument and the version as second 
argument.

I wrote the wix tag as follows:

Binary Id='WixLicense' SourceFile=write_lic.exe/
CustomAction Id='createLicense' BinaryKey=write_lic.exe
ExeCommand= ' 61177-1128925439-1187326800 9.0 '  Execute=commit 
Return=ignore/

the sequence as follows:
InstallExecuteSequence
RemoveExistingProducts After=InstallFinalize /
Custom Action= createLicense After=InstallFinalize /
/InstallExecuteSequence


It compiles fine and links fine. When I execute the msi installer crashes. I 
donot know what is happening here.

Please somebody help me. Also, do I need to use Binarykey Or FileKey in 
Custom Action? and what is the difference between the two.

CustomAction Id='createLicense' BinaryKey=write_lic.exe
ExeCommand= ' 61177-1128925439-1187326800 9.0 '  Execute=commit 
Return=ignore/

Thanks
Srini





Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green 
Center.http://us.rd.yahoo.com/evt=48246/*http:/autos.yahoo.com/green_center/;_ylc=X3oDMTE5cDF2bXZzBF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDZ3JlZW4tY2VudGVy
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Annoying RemoveFolders problem

2007-07-13 Thread Pierson Lee (Volt)
My issue was originally that I specified them to be permanent and I wanted the 
user to specify whether to remove the folders. Also I wanted to verify that my 
other msi installations (other programs) weren't installed prior to removing 
the folders. So it had to satisfy both the key requirement and what the user 
wanted. The logic might have been slightly off but I found a different way to 
do it anyways (custom actions).

-Original Message-
From: Sebastian Brand [mailto:[EMAIL PROTECTED]
Sent: Friday, July 13, 2007 6:53 AM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Annoying RemoveFolders problem

 I am attempting to remove 2 folders that I created on install ONLY
 if all 3 registry keys I'm checking for do not exist.

 Condition(NOT (KEY1_EXISTS=1) OR NOT (KEY2_EXISTS=1) OR NOT
 (KEY3_EXISTS=1)) AND Installed/Condition

Isn't there a logical error?

... (not key1exists) or (not key2exists) or (not key3exists) ...  ==
if any of the the keys do not exists it returns true. Shouldn't this
be AND instead of OR?

Also, if those 2 folders get created during installation, does the
Windows Installer not remove them on uninstallation automatically?

And finally, RemoveFolder can only remove empty folders as far as I
know.


Best regards,
Sebastian Brand

Instyler Software - http://www.instyler.com

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patch Problem Urgent !!!

2007-07-12 Thread Pierson Lee (Volt)
This looks like either you don't have permission to edit the metabase or the 
metabase doesn't exist.

Do you have the lines from the wix patch regarding writing to the /W3SVC/1/Root 
?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Petrut Andrei
Sent: Thursday, July 12, 2007 12:15 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Patch Problem Urgent !!!



Andrei PETRUT


- Forwarded Message 
From: Petrut Andrei [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 12, 2007 10:14:21 AM
Subject: Patch
Hey. This is the log file created when I run the patch and stops when that 
error occurs:


**logFile**

Action 09:36:55: CreateFolders. Creating folders
CreateFolders: Folder: C:\CRMWebDocuments\
Action 09:36:55: InstallFiles. Copying new files
InstallFiles: File: Testing,  Directory: C:\Program Files\misoft 
systems\CRMWeb\www\,  Size: 0
Action 09:36:55: ExecXmlFileRollback.
Action 09:36:55: ExecXmlFile.
Action 09:36:55: StartMetabaseTransaction. Starting IIS Metabase Transaction
Action 09:36:55: RollbackMetabaseTransaction. Rolling back IIS Metabase 
Transaction
Action 09:36:55: CommitMetabaseTransaction. Committing IIS Metabase Transaction
Action 09:36:55: WriteMetabaseChanges. Installing Metabase Keys and Values
WriteMetabaseChanges:  Error 0x80070003: failed to create metabase key: 
/W3SVC/1/Root//
Error 26103. Failed to create metabase key.  (-2147024893   /W3SVC/1/Root// 
 )
MSI (s) (7C!00) [09:36:57:625]: Product: CRMWeb 2.0 -- Error 26103. Failed to 
create metabase key.  (-2147024893   /W3SVC/1/Root//  )
WriteMetabaseChanges:  Error 0x80070003: failed to create metabase key
Action ended 09:36:57: InstallFinalize. Return value 3.
Action 09:36:57: Rollback. Rolling back action:
Rollback: Installing Metabase Keys and Values
Rollback: Committing IIS Metabase Transaction
Rollback: Rolling back IIS Metabase Transaction
Rollback: Starting IIS Metabase Transaction
Rollback: ExecXmlFile
Rollback: ExecXmlFileRollback
Rollback: Copying new files
Rollback: Creating folders
Rollback: Updating component registration
Action ended 09:37:06: INSTALL. Return value 3.
Action ended 09:37:06: ExecuteAction. Return value 3.
Action 09:37:06: FatalError.
Action start 09:37:06: FatalError.
Info 2898. WixUI_Font_Normal_Bold, Arial, 0
Action 09:37:06: FatalError. Dialog created
Action ended 09:37:11: FatalError. Return value 2.
Action ended 09:37:11: INSTALL. Return value 3.
=== Logging stopped: 12.07.2007  09:37:11 ===
MSI (c) (7C:9C) [09:37:11:296]: Product: CRMWeb 2.0 - Update 'CRMWeb 2.1 Patch' 
could not be installed. Error code 1603. Additional information is available in 
the log file D:\msCRM\msCRMWebSetupWiX\logPatch.txt.
MSI (c) (7C:9C) [09:37:11:296]: Product: CRMWeb 2.0 -- Configuration failed.


**

Any ideas ?

Andrei PETRUT


Expecting? Get great news right away with email 
Auto-Check.http://us.rd.yahoo.com/evt=49982/*http:/advision.webevents.yahoo.com/mailbeta/newmail_tools.html
Try the Yahoo! Mail 
Beta.http://us.rd.yahoo.com/evt=49982/*http:/advision.webevents.yahoo.com/mailbeta/newmail_tools.html



Got a little couch potato?
Check out fun summer activities for 
kids.http://us.rd.yahoo.com/evt=48248/*http:/search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] UILevel

2007-07-12 Thread Pierson Lee (Volt)
Is there a property within the Wix I can set conditionally (dependent upon a 
registry key) whether or not to display a UI?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install target directory from Registry key.

2007-07-11 Thread Pierson Lee (Volt)
I had the same problem and had to use a custom action to write it to the 
property after AppSearch had been completed. What is the proper way of doing 
this?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benas
Sent: Wednesday, July 11, 2007 3:05 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Install target directory from Registry key.

Hello,

I'm trying to install my program to directory from registry key.

Here is source code:

Media Id=1 Cabinet=Files CompressionLevel=high EmbedCab=yes/

Property Id=MYAPPPATH
  RegistrySearch Id='FacilitiesPlannerRegistry' Type='directory'
Root='HKLM' Key='Software\Test\Test\' Name='PathName' /
/Property

Directory Id='TARGETDIR' Name='SourceDir'
  Directory Id='ProgramFilesFolder' Name='PFiles'
Directory Id=MYAPPPATH Name=.  !-- Overrides the parent folder 
--
  Directory Id='MyDir' Name='TestProg' LongName='Test Program'
  Component Id='component' Guid='BC3244DE-2311-4376-9DF5-42E7942A2937'
File Id='testFile' Name='testFile.dll' DiskId='1' 
Source='testFile.dll' KeyPath=yes Vital='yes' /
  /Component
/Directory
/Directory
  /Directory
/Directory

Feature Id='Complete' Level='1'
  ComponentRef Id='component' /
/Feature

If i look at log file i see that registry search was successful, but the file 
is installed to C:\Program Files\Test Program\ dir.
If i set MYAPPPATH property manually like this: Property 
Id=MYAPPPATH[d:\mydir\]]/Property everything works fine.

Where is the problem?


Thanx,
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Executing a custom action on uninstall but not on majorupgrade

2007-07-11 Thread Pierson Lee (Volt)
Or if you want it only on uninstall, the condition REMOVE=ALL  should work 
also

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilson, Phil
Sent: Wednesday, July 11, 2007 12:12 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Executing a custom action on uninstall but not on 
majorupgrade

The property UPGRADINGPRODUCTCODE is set if a product uninstall is occurring 
because of an incoming major upgrade, so AND NOT UPGRADINGPRODUCTCODE looks 
like part of the condition you want on your uninstall custom action.

Phil Wilson


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carter Sanders
Sent: Wednesday, July 11, 2007 12:06 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Executing a custom action on uninstall but not on 
majorupgrade
I have an application that may put arbitrary directories and files in a 
directory called plugins. I've written a custom dll that removes the contents 
of this directory on uninstall, but I'd like to leave the directory untouched 
for major upgrades. Can someone please tell me what is the correct condition 
clause to do that? I currently have

Custom Action=RemovePluginsDir 
Before=InstallFinalize![CDATA[$GenericRegistrySettings=2]]/Custom


GenericRegistrySettings is a component that is always installed.

I am using WiX 2.0

Thanks - Carter
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CAQuietExec in merge module path problem

2007-07-10 Thread Pierson Lee (Volt)
In order to set the property to include another property you have to use a 
CustomAction

Try CustomAction Id=PropertyCA Property=QtExecDeferred 
Value=quot;[TOOLS]/mytool.exequot; /



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of steve baker
Sent: Tuesday, July 10, 2007 11:22 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CAQuietExec in merge module path problem


i have a merge module that needs to fire off a CAQuietExec custom action:

Property Id=QtExecDeferred Value='Tools\mytool.exe' /
CustomAction Id=QtExecDeferred BinaryKey=WixCA DllEntry=CAQuietExec 
Execute=deferred Return=check/

InstallExecuteSequence
   Custom Action=QtExecDeferred Before=InstallFinalize/
/InstallExecuteSequence

my installation fails and rolls back with this error in the log:

CAQuietExec:  Error 0x80070002: Command failed to execute.
CAQuietExec:  Error 0x80070002: CAQuietExec Failed

i am thinking it is a path problem and it cant find the exe because if i 
comment out the custom action and run the same commandline after the install 
everything is fine, the exe to run is specified in the merge module in a tools 
subdirectory like this:

Directory Id=TARGETDIR Name=SourceDir
   Directory Id=MergeRedirectFolder
  Directory Id=TOOLS Name=Tools
 Component Id=mytool.exe Guid={SOME-GUID}
File Id=mytool.exe Name=mytool.exe KeyPath=yes 
Source=mytool.exe /
 /Component

...

i would like to use a fully qualified path but haven't been able to figure out 
how to get the QtExecDeferred property to be fully qualified (properties like 
INSTALLDIR dont seem to be accessible? i tried a few different things like this:

Property Id=QtExecDeferred Value='[MergeRedirectFolder]\Tools\mytool.exe' 
/
or
Property Id=QtExecDeferred 
Value='[TARGETDIR]\Tools\PerformanceCounterCreator.exe' /


and got the following results in my log:

QtExecDeferred.THE_MODULE_GUID = [MergeRedirectFolder]\Tools\mytool.exe
and
QtExecDeferred.THE_MODULE_GUID = [TARGETDIR]\Tools\mytool.exe


please help...

TIA

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Component question

2007-07-10 Thread Pierson Lee (Volt)
This is a general question related to the Component / tag.

If I were to set the Transitive flag within the Component / to yes would it 
reevaluate the conditional at the time of uninstall or is it only on Modify and 
installation that it looks at the Transitive flag?

Thanks
Pierson
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Annoying RemoveFolders problem

2007-07-06 Thread Pierson Lee (Volt)
Ok. I tried a bat file with a customaction but I guess I'm doing something 
wrong. My issue is that outside of WiX and the MSI, if I were to remove the 
folder I'm assuming I'd have to issue OS related commands but I can't see how 
to do this beyond incorporating it into a bat file (which I have tried and it 
isn't working). Lets assume (project restrictions) that I cannot use vbscript.

Can you give me hint towards the type of customaction I would need? I tried to 
launch the bat file like an executable, but it doesn't work. I also attempted 
to use shellexecute to run the bat file (but now my program won't uninstall) 
and it isn't running the commands either.

TIA

-Pierson

-Original Message-
From: Stefan Pavlik [mailto:[EMAIL PROTECTED]
Sent: Friday, July 06, 2007 1:30 AM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Annoying RemoveFolders problem

Hi

The Condition in Component is evaluated ONLY during install time. If
it will be evaluated to TRUE the component will be installed.

In your scenario the Registry keys are not present during
Installation so the Component is installed (registered in system).

And during uninstallation (since the component was installed) the
RemoveFolder rows are processed.

You will probably need to write some CustomAction to solve your problem.

Regards

Stefan

Pierson Lee (Volt) wrote:
 I'm at my wit's end trying to figure out this RemoveFolders problem so
 any help will be greatly appreciated.



 I am attempting to remove 2 folders that I created on install ONLY if
 all 3 registry keys I'm checking for do not exist.



 My Component for removeFolders looks like this:



 Component Id=ShareAFolderRemoval Guid={MY-GUID-HERE} 

 Condition(NOT (KEY1_EXISTS=1) OR NOT (KEY2_EXISTS=1) OR NOT
 (KEY3_EXISTS=1)) AND Installed/Condition

   RemoveFolder Id=ShareA_RemoveFolder Directory=ShareADir
 On=uninstall /

   RemoveFolder Id=ShareB_RemoveFolder Directory=ShareBDir
 On=uninstall/

 /Component



 Unfortunately, every time I run the uninstall it will remove the folders
 even when the key . My next step is during the folder creation process,
 to set those components to Permanent=yes but that causes the folders
 not to be removed.





 Any one have any suggestions?



 Thanks
 --Pierson


 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/


 

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

--
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Feature Conditionals and Silent (passive) install

2007-07-05 Thread Pierson Lee (Volt)
I've created an MSI that, through a UI, will determine from a public property 
that is selected through a radio button, which feature to install.

It uses the feature conditional that changes the level of the feature.

If I set the same property from a command-line, it doesn't evaluate and both 
features are installed. I have to specify the ADDLOCAL property in the 
command-line passive install of the msi.

What am I doing wrong, or is this not possible without the UI?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Annoying RemoveFolders problem

2007-07-05 Thread Pierson Lee (Volt)
I'm at my wit's end trying to figure out this RemoveFolders problem so any help 
will be greatly appreciated.

I am attempting to remove 2 folders that I created on install ONLY if all 3 
registry keys I'm checking for do not exist.

My Component for removeFolders looks like this:

Component Id=ShareAFolderRemoval Guid={MY-GUID-HERE} 
Condition(NOT (KEY1_EXISTS=1) OR NOT (KEY2_EXISTS=1) OR NOT 
(KEY3_EXISTS=1)) AND Installed/Condition
  RemoveFolder Id=ShareA_RemoveFolder Directory=ShareADir 
On=uninstall /
  RemoveFolder Id=ShareB_RemoveFolder Directory=ShareBDir 
On=uninstall/
/Component

Unfortunately, every time I run the uninstall it will remove the folders even 
when the key . My next step is during the folder creation process, to set those 
components to Permanent=yes but that causes the folders not to be removed.


Any one have any suggestions?

Thanks
--Pierson
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing dotnet framework along with your MSI package

2007-07-03 Thread Pierson Lee (Volt)
It should complete. You'll need to find the flags to do it silently but you are 
right, there is no guarantee when it will complete or that it will finish if it 
encounters an error.

From: sanjay bhaskar [mailto:[EMAIL PROTECTED]
Sent: Monday, July 02, 2007 6:13 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Installing dotnet framework along with your MSI package

Thanks for the reply. I am not using VS 2005. Its all through the WIX. The 
solution using custom action and setting it to run after InstallFinalize seems 
cool but the problem is that i am trying to run the dotnetfx in quite mode 
without showing its UI as it is supposed to be a part of my package. But yes as 
you say its true, In this case if your installation completes there is no way 
to be sure that the installation of dotnetfx is complete or when will it be.

Thanks




From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Date: Mon, 2 Jul 2007 17:20:03 -0700
Subject: RE: [WiX-users] Installing dotnet framework along with your MSI package

That's the same thing I'm doing. You have to use a bootstrapper. If you're 
using VS 2005, you can use the setup project and it will allow you to check for 
.net framework .



The other way you can do it (which I did, but am having a heck of a time) is to 
call the .net Framework redistributable at the end using a custom action , but 
it has to be set after InstallFinalize so that your wix windows installer 
instance ends when your dotnetfx.exe is called. I did it this way and it works, 
although I don't know the consequences of this beyond installing the framework 
AFTER your application.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sanjay bhaskar
Sent: Monday, July 02, 2007 4:52 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installing dotnet framework along with your MSI package



How to include dotnet framework redistributable package (dotnetfx.exe) as a 
part of your own installation package (MSI) such that the dotnet framework gets 
installed during your installation process(Like through customActions). the 
error i get is that another installation is already in progress. How to get out 
of this problem and install the dotnetfx.

Thanks



Make every IM count. Download Windows Live Messenger and join the i'm 
Initiative now. It's free.   Make it 
count!http://im.live.com/messenger/im/home/?source=TAGWL_June07


Play free games, earn tickets, get cool prizes! Join Live Search Club.   Join 
Live Search Club!http://club.live.com/home.aspx?icid=CLUB_wlmailtextlink
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing dotnet framework along with your MSI package

2007-07-02 Thread Pierson Lee (Volt)
That's the same thing I'm doing. You have to use a bootstrapper. If you're 
using VS 2005, you can use the setup project and it will allow you to check for 
.net framework .

The other way you can do it (which I did, but am having a heck of a time) is to 
call the .net Framework redistributable at the end using a custom action , but 
it has to be set after InstallFinalize so that your wix windows installer 
instance ends when your dotnetfx.exe is called. I did it this way and it works, 
although I don't know the consequences of this beyond installing the framework 
AFTER your application.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sanjay bhaskar
Sent: Monday, July 02, 2007 4:52 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installing dotnet framework along with your MSI package

How to include dotnet framework redistributable package (dotnetfx.exe) as a 
part of your own installation package (MSI) such that the dotnet framework gets 
installed during your installation process(Like through customActions). the 
error i get is that another installation is already in progress. How to get out 
of this problem and install the dotnetfx.

Thanks

Make every IM count. Download Windows Live Messenger and join the i'm 
Initiative now. It's free.   Make it 
count!http://im.live.com/messenger/im/home/?source=TAGWL_June07
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Incorporating vjredist.exe in a WiX Project

2007-06-29 Thread Pierson Lee (Volt)
Hi-

I am having difficulty forcing an installation of vjredist.exe (Microsoft 
Visual J# .NET 2.0 Redistributable package) with my MSI. Currently, its 
checking to see if the registry entry is there, then it calls it for a silent 
install. I'm getting an error telling me that I already have a windows 
installer package running (which is true because WiX is running it).

Question: I can strip the MSI out from the EXE, but there isn't a way to run it 
from command line. Is there a way I can specify an option to run the 
vjredist.exe AFTER my WiX MSI is done?

Is there a way to fake Windows Installer so it will allow the install of the 
second MSI?

Thanks for any help!

--Pierson
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Incorporating vjredist.exe in a WiX Project

2007-06-29 Thread Pierson Lee (Volt)
I actually want to run it during if it isn't installed, but I can't seem to do 
that.

From: Francis Kam [mailto:[EMAIL PROTECTED]
Sent: Friday, June 29, 2007 4:59 PM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Incorporating vjredist.exe in a WiX Project

Why do you want to run it after? Anyway, you might look into creating a 
bootstrapper and using that to tie the two installers together.

-Francis

On 6/29/07, Pierson Lee (Volt) [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] 
wrote:

Hi-



I am having difficulty forcing an installation of vjredist.exe (Microsoft 
Visual J# .NET 2.0 Redistributable package) with my MSI. Currently, its 
checking to see if the registry entry is there, then it calls it for a silent 
install. I'm getting an error telling me that I already have a windows 
installer package running (which is true because WiX is running it).



Question: I can strip the MSI out from the EXE, but there isn't a way to run it 
from command line. Is there a way I can specify an option to run the 
vjredist.exe AFTER my WiX MSI is done?



Is there a way to fake Windows Installer so it will allow the install of the 
second MSI?



Thanks for any help!



--Pierson

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Replacing the stock bitmaps

2007-06-28 Thread Pierson Lee (Volt)
I replaced the stock ones in that folder, but I also have two lines:

WixVariable Id=WixUIBannerBmp Overridable=yes 
Value=Bitmaps\bannrbmp.bmp/
WixVariable Id=WixUIDialogBmp Overridable=yes 
Value=Bitmaps\dlgbmp.bmp/


I don't have problems with the chm file that comes with the zip. Maybe yours is 
bad?

Hope that helps

--pierson
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, June 28, 2007 8:13 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Replacing the stock bitmaps

In earlier wix v3 builds you could add a Bitmaps dir and replace bannrbmp.bmp 
and dlgbmp.bmp with your own images. But in 3.0.2925.0, that doesn't seem to 
work.

How am I supposed to override the stock bitmaps in this version?


I have listed a blurb from the article below.

Also, can anyone view the chm file that comes in the zip download for this 
version?  Every page returns cannot display webpage like all the links are 
bad. Is it just me?

From the v2 manual online:
http://wix.sourceforge.net/manual-wix2/WixUI_dialog_library.htm

Replacing the stock bitmaps
The WixUI dialog library includes stock bitmaps for the background of the 
welcome and installation-complete dialogs and the top banner of the other 
dialogs. You can override those graphics with your own for product-branding 
purposes. To replace stock bitmaps, add the files from the table below to a 
subdirectory named Bitmaps under your WiX source file.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ComboBox and properties, how does it work?

2007-06-28 Thread Pierson Lee (Volt)
First of all, you probably need to set a public propertyProperty Id=MYPROPERTY 
/. Then you assign the property to the combo box, so that when your directory 
tag is called, it will look for that property.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of md5hans
Sent: Thursday, June 28, 2007 7:36 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ComboBox and properties, how does it work?


Hi!

I'm very new to WIX and are trying to understand how to use a Combox in a
Dialog. I want to present a combox with some values that has been filled by
an CustomAction. I want to use the selected value to control in wich folder
a file will be placed. I have managed to show the combbox and fill it with
values but I do not know how to access the selected value. I suppose it is
accessed by the property I set when I define the combobox. But how can I use
the property value?

Say that I have created a property called MyProperty and I want to use it
when defining a directory, writing:

 Directory Id=Directory7 Name=MyProperty

does not work, I get an error when I compile it with Light, is there a
special syntax for getting the value?

Best regards Hans




--
View this message in context: 
http://www.nabble.com/ComboBox-and-properties%2C-how-does-it-work--tf3994636.html#a11343933
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Service Registration Dialog - ComboBox type control

2007-06-27 Thread Pierson Lee (Volt)
I created a custom dialog box. Its along the lines of a another dialog box 
(copy one from the WixUI) and just add a username and password field  and two 
properties, one to hold each one. If you're still having problems with this, 
let me know (I'm actually working on a password checker right now for a 
service, so If I can strip out the private info, I'll post it when I'm done)

The combo box problem as to do with your ListItem values. That value is what is 
assigned to  your property, which is probably why its coming out 
Production.Config. Its because that is what you have in your value. If you 
remove the highlighted in red text it should work.


Control Id=Config Type=ComboBox X=20 Y=75 Width=150 Height=18 
Property=SERVICECONFIG Text=[SERVICECONFIG]  ComboList=yes

ComboBox Property=SERVICECONFIG 
xmlns=http://schemas.microsoft.com/wix/2003/01/wi;

ListItem Text=production Value=production.config /

ListItem Text=qa Value=qa.config /

/ComboBox

/Control


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Baker
Sent: Wednesday, June 27, 2007 11:12 AM
To: wix-users@lists.sourceforge.net; wix-users@lists.sourceforge.net; 
wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Service Registration Dialog - ComboBox type control


hi all,

i am writing a wix install which will register a service. i have used wix for a 
while but never had to register a service with it. I have the ServiceInstall 
element all setup and am using public properties for the user name and 
password. I would like to put a GUI on top of this so the user can enter this 
information in. I have read a few threads that mention people having written 
custom dialogs for this. I was wondering if there are any publicly available 
(it seems like such a common thing to do)

i am also trying to write a custom dialog that uses a control of type combo 
box. i would like the user to select something along the lines of QA or 
Production and have a public property set to a value that is different than 
what the user chose. I tried this thinking it would work:

Control Id=Config Type=ComboBox X=20 Y=75 Width=150 Height=18 
Property=SERVICECONFIG Text=[SERVICECONFIG]  ComboList=yes

ComboBox Property=SERVICECONFIG 
xmlns=http://schemas.microsoft.com/wix/2003/01/wi;

ListItem Text=production Value=production.config /

ListItem Text=qa Value=qa.config /

/ComboBox

/Control

but when i tested it and selected production the value put in the edit field 
of the drop down said production.config :P. not really what i was hoping for. 
is there a good link i can read about how to get comboboxes setup in msi, i 
have read the wix docs and msi docs and am still missing something :(

thanks,

steve
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Property comparisons

2007-06-27 Thread Pierson Lee (Volt)
I'm trying to compare two properties together (does property A = Property B?) 
and it doesn't' seem to be working.

The application is for me to verify that  a password and a confirm password 
that they type in are the same before continuing on the dialog.

! - - Dialog Snippet - -
Control Id=WebService_PasswordLabelType=Text X=10 Y=100 Width=80 
Height=20 Text=Password: /
Control Id=WebService_Password   Type=Edit X=140 Y=96 
Width=150 Height=20 Password=yes Property=WEBSERVICE_PASSWORD /
Control Id=WebService_PasswordConfirmLabel Type=Text X=10 Y=130 
Width=80 Height=20 Text=Confirm Password: /
Control Id=WebService_PasswordConfirm Type=Edit X=140 Y=126 
Width=150 Height=20 Password=yes Property=WEBSERVICE_PASSWORDCONFIRM /
!- - End dialog snippet - -


Publish Dialog=WebServiceSetupDlg Control=Next Event=NewDialog 
Value=SelectFolderDlg Order=4WEBSERVICE_PASSWORD = 
WEBSERVICE_PASSWORDCONFIRM/Publish
Publish Dialog=WebServiceSetupDlg Control=Next Event=SpawnDialog 
Value=PasswordSpawnDlg Order=5WEBSERVICE_PASSWORD ![CDATA[]] 
WEBSERVICE_PASSWORDCONFIRM/Publish


After this comparison, I always get the PasswordSpawnDlg instead of the 
selectfolderdlg.

What am I doing wrong?

Thanks in advance!
-pierson
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Property comparisons

2007-06-27 Thread Pierson Lee (Volt)
Ignore this. I found my problem. I don't need the not-equal comparison.

Thanks

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: Wednesday, June 27, 2007 12:18 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Property comparisons

I'm trying to compare two properties together (does property A = Property B?) 
and it doesn't' seem to be working.

The application is for me to verify that  a password and a confirm password 
that they type in are the same before continuing on the dialog.

! - - Dialog Snippet - -
Control Id=WebService_PasswordLabelType=Text X=10 Y=100 Width=80 
Height=20 Text=Password: /
Control Id=WebService_Password   Type=Edit X=140 Y=96 
Width=150 Height=20 Password=yes Property=WEBSERVICE_PASSWORD /
Control Id=WebService_PasswordConfirmLabel Type=Text X=10 Y=130 
Width=80 Height=20 Text=Confirm Password: /
Control Id=WebService_PasswordConfirm Type=Edit X=140 Y=126 
Width=150 Height=20 Password=yes Property=WEBSERVICE_PASSWORDCONFIRM /
!- - End dialog snippet - -


Publish Dialog=WebServiceSetupDlg Control=Next Event=NewDialog 
Value=SelectFolderDlg Order=4WEBSERVICE_PASSWORD = 
WEBSERVICE_PASSWORDCONFIRM/Publish
Publish Dialog=WebServiceSetupDlg Control=Next Event=SpawnDialog 
Value=PasswordSpawnDlg Order=5WEBSERVICE_PASSWORD ![CDATA[]] 
WEBSERVICE_PASSWORDCONFIRM/Publish


After this comparison, I always get the PasswordSpawnDlg instead of the 
selectfolderdlg.

What am I doing wrong?

Thanks in advance!
-pierson
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Command line Custom action failure

2007-06-27 Thread Pierson Lee (Volt)
Hi-

I'm getting this weird error when running my custom action:

MSI (s) (B8:F4) [17:21:34:509]: Doing action: QtExec
Action 17:21:34: QtExec.
Action start 17:21:34: QtExec.
MSI (s) (B8:C4) [17:21:34:509]: Invoking remote custom action. DLL: 
C:\WINNT\Installer\MSI547.tmp, Entrypoint: CAQuietExec
MSI (s) (B8:C0) [17:21:34:509]: Generating random cookie.
MSI (s) (B8:C0) [17:21:34:509]: Created Custom Action Server with PID 6032 
(0x1790).
MSI (s) (B8:74) [17:21:34:540]: Running as a service.
MSI (s) (B8:74) [17:21:34:540]: Hello, I'm your 32bit Impersonated custom 
action server.
CAQuietExec:  Error 0x80070057: failed to get command line data
CAQuietExec:  Error 0x80070057: failed to get Command Line
Action ended 17:21:34: QtExec. Return value 1.

My two lines in my wxs file are:


Property Id=ADSUTIL
  DirectorySearch Id=AdminScripts Depth=999 
  FileSearch Id=ADSUTIL Name=adsutil.vbs /
  /DirectorySearch
/Property

CustomAction Id=PropertyCA Property=QtExecCmdLine 
Value=Cscript.exe [ADSUTIL] SET W3SVC/NTAuthenticationProvider 
quot;NTLMquot;/
CustomAction Id=QtExec BinaryKey=WixCA DllEntry=CAQuietExec 
Execute=immediate Return=ignore/


..
InstallExecuteSequence
  Custom Action=QtExec After=CostFinalize/
/InstallExecuteSequence


Any help is appreciated. Thanks!
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Including cab file within MSI...

2007-06-26 Thread Pierson Lee (Volt)
Check out the Files / tag.

As long as you don't make it permanent, during the uninstall process it will 
remove the files.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravikumar 
Gopinath
Sent: Tuesday, June 26, 2007 10:48 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Including cab file within MSI...

I have a couple of cab files which contains quite a few files within them. I 
want to include the cab files in my installer and unpack the cab files during 
install, and delete those unpacked files during uninstall. Is it possible to do 
this? If so, how can I do it?

Thanks
Ravi
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Permissions problem using wix 3.0

2007-06-26 Thread Pierson Lee (Volt)
Here's a weird one. I am attempting to set the ACL permissions on a folder that 
I am creating so that the user I have can have full control on the folder too 
(two lines down inside the directory tag, I do a fileshare tag also, but that 
one works).I have a CreateFolder / tag with a Permission tag embedded in it.

With the permissions tag, I have two flags set:

Permission GenericAll=yes User=WebShareUser /

I've tried having WebShareUser as a util:User,  a Property tag containing a 
username or just the username itself.

With the first one, the util:User I'm getting a pop  up saying that 
WebShareUser account could not be found (it was the actual User tag's ID 
name that appeared, not the username embedded in the User tag).

On the other two, I get the following error message in the installation log:

MSI (s) (30:5C) [11:31:24:689]: Invoking remote custom action. DLL: 
C:\WINNT\Installer\MSI1F6.tmp, Entrypoint: ExecSecureObjects
ExecSecureObjects:  Error 0x80070534: failed to get sid for account: 
DOMAIN\ServiceUser

 (DOMAIN\ServiceUser is replacing the real domain and the service account I am 
using).

I've also attempted to use util:PermissionEx with the same results.

Can someone point me in the right direction?

Thanks
--Pierson
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] (no subject)

2007-06-26 Thread Pierson Lee (Volt)
Actually it isn't (which is strange)

Here is my exact tags (the folder names are changed, but I don't think that 
matters)

The folders where I don't call CreateFolder are removed on uninstall.
  Directory Id=NotifyShareDir  Name=NotifyShare
Component Id=NotifyShareComponent 
Guid=21606476-2FCC-4F46-9818-296A325A1E30
  CreateFolder Directory=NotifyShareDir
  !--util:PermissionEx GenericAll=yes 
User=[SERVICE_USERNAME]/ --
  /CreateFolder
  !-- this doesn't seem to work --
  RemoveFolder Id=NotifyShare_RemoveFolder 
On=uninstall/
  util:FileShare Id=NotifyShareFileShare 
Name=NotifyShare Description=Notify
util:FileSharePermission User=ShareUser 
GenericAll=yes /
  /util:FileShare
/Component
  /Directory

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Monday, June 25, 2007 7:20 PM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] (no subject)

Pierson Lee (Volt) wrote:
Yes it is empty. The only reason I can think of is that the folder itself is 
shared (using the file share option) and I can't figure out how to unshared it.

So the folder is removed if you comment out the FileShare element?



--

sig://boB

http://joyofsetup.com/
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] (no subject)

2007-06-25 Thread Pierson Lee (Volt)
Yes it is empty. The only reason I can think of is that the folder itself is 
shared (using the file share option) and I can't figure out how to unshared it.

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 9:36 PM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] (no subject)

Pierson Lee (Volt) wrote:
Using the following code, the folder isn't removed on uninstall. Any reason why?

Is it empty? MSI doesn't remove folders that have files.



--

sig://boB

http://joyofsetup.com/
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] (no subject)

2007-06-22 Thread Pierson Lee (Volt)
Using the following code, the folder isn't removed on uninstall. Any reason why?
Could it be because the folder is shared? If so, how do I remove a folder share 
on uninstall.

Thanks:

--pierson



  Directory Id=EmailShareDir Name=EmailShare
Component Id=EmailShareComponent 
Guid=7011AFE5-D8F9-49B3-811F-FBD49631E388
  CreateFolder Directory=EmailShareDir /
  RemoveFolder Id=EmailShare_RemoveFolder 
On=uninstall/
  util:FileShare Id=EmailShareFileShare 
Name=EmailShare Description=Email Share
util:FileSharePermission 
User=WebShareUser GenericAll=yes /
  /util:FileShare
/Component
  /Directory
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] (no subject)

2007-06-22 Thread Pierson Lee (Volt)
Well, the code is from the stock wxs file. I'm just sharing the folder (not 
files are going in) to create a share for files for the website that I create 
earlier in the file. (btw, this isn't the whole file). The folder itself 
doesn't contain anything by default. My issue is that the remove folders line 
doesn't kick off on uninstall because (and I'm assuming this) that the  
Util:FileShare is keeping the folder shared and that's preventing me from 
removing it.  I don't think this is the same thing you were doing (unless my 
explanation makes it so).

From: Roy Riegel [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 11:43 AM
To: Pierson Lee (Volt)
Subject: RE: [WiX-users] (no subject)

Hello Pierson,

Pardon, but I had to do a similar thing recently in a switchover from 
InstallShield 11.5 to WIX installers in which there was a shared flag for any 
file in a folder where there were identical files in two different variations 
of an installer where one did NOT want certain *.DLLs to be removed unless BOTH 
(similar) modules had been uninstalled.

Is your question:  Is this (below) the WIX equivalent?

Is this a line in the MyInstaller.wxs file BEFORE one runs it though candle.exe 
and light.exe?

Thanks,

Roy Riegel, Scientific Monitoring Inc., Scottsdale, Az. (A WIX user)


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: Friday, June 22, 2007 11:32 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] (no subject)

Using the following code, the folder isn't removed on uninstall. Any reason why?
Could it be because the folder is shared? If so, how do I remove a folder share 
on uninstall.

Thanks:

--pierson



  Directory Id=EmailShareDir Name=EmailShare
Component Id=EmailShareComponent 
Guid=7011AFE5-D8F9-49B3-811F-FBD49631E388
  CreateFolder Directory=EmailShareDir /
  RemoveFolder Id=EmailShare_RemoveFolder 
On=uninstall/
  util:FileShare Id=EmailShareFileShare 
Name=EmailShare Description=Email Share
util:FileSharePermission 
User=WebShareUser GenericAll=yes /
  /util:FileShare
/Component
  /Directory
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] (no subject)

2007-06-22 Thread Pierson Lee (Volt)
I think you are talking about shared in the sense that your applications 
shared usage of a DLL.

I'm talking about sharing folders in the sense of a network share access to a 
folder (two different things).

I have no idea on your item  L

From: Roy Riegel [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 12:04 PM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] (no subject)

Thanks for  your quick response.
My use of a shared file used to be done with a reference count type mechanism 
in IS 11.5 where let's say Application A installs MyRuntime.dll with one set of 
data; Application B ALSO installs an IDENTICAL MyRuntime.dll with different 
data than Application A.

When Application B's installer is loading MyRuntime.dll, it increments a ref. 
or shared file count for the dll;  when Application A (or B) are uninstalled, 
the ref. count is decremented by 1, and MyRuntime.dll still persists in the eg: 
..\System\Bin dir.
When the OTHER app. is uninstalled the ref. count gets decremented (to zero), 
file gets removed, system is completely cleaned up etc..

My questions:

 1.  Is there an identical mechanism in WIX?
 2.  Where is this explained or shown by example?
 3.  Am I asking too much?  J

Thanks,
Roy Riegel, SMI


From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 11:54 AM
To: Roy Riegel
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] (no subject)

Well, the code is from the stock wxs file. I'm just sharing the folder (not 
files are going in) to create a share for files for the website that I create 
earlier in the file. (btw, this isn't the whole file). The folder itself 
doesn't contain anything by default. My issue is that the remove folders line 
doesn't kick off on uninstall because (and I'm assuming this) that the  
Util:FileShare is keeping the folder shared and that's preventing me from 
removing it.  I don't think this is the same thing you were doing (unless my 
explanation makes it so).

From: Roy Riegel [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 11:43 AM
To: Pierson Lee (Volt)
Subject: RE: [WiX-users] (no subject)

Hello Pierson,

Pardon, but I had to do a similar thing recently in a switchover from 
InstallShield 11.5 to WIX installers in which there was a shared flag for any 
file in a folder where there were identical files in two different variations 
of an installer where one did NOT want certain *.DLLs to be removed unless BOTH 
(similar) modules had been uninstalled.

Is your question:  Is this (below) the WIX equivalent?

Is this a line in the MyInstaller.wxs file BEFORE one runs it though candle.exe 
and light.exe?

Thanks,

Roy Riegel, Scientific Monitoring Inc., Scottsdale, Az. (A WIX user)


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: Friday, June 22, 2007 11:32 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] (no subject)

Using the following code, the folder isn't removed on uninstall. Any reason why?
Could it be because the folder is shared? If so, how do I remove a folder share 
on uninstall.

Thanks:

--pierson



  Directory Id=EmailShareDir Name=EmailShare
Component Id=EmailShareComponent 
Guid=7011AFE5-D8F9-49B3-811F-FBD49631E388
  CreateFolder Directory=EmailShareDir /
  RemoveFolder Id=EmailShare_RemoveFolder 
On=uninstall/
  util:FileShare Id=EmailShareFileShare 
Name=EmailShare Description=Email Share
util:FileSharePermission 
User=WebShareUser GenericAll=yes /
  /util:FileShare
/Component
  /Directory
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installer Design

2007-06-22 Thread Pierson Lee (Volt)
That would be good if I wanted the user to choose which feature to install. 
What I'm trying to do is install two mutually exclusive features. So if they 
choose to install one, it won't install the other.

Is that possible?

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 21, 2007 5:21 PM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Installer Design

Pierson Lee (Volt) wrote:

To accomplish my first goal of being able to choose one of two, do I want to be 
looking at Merge Modules?

No. Just use features; the stock feature-selection control gives users control 
over which features get installed and Feature/ComponentRef elements give you 
control over which components go into which features.



--

sig://boB

http://joyofsetup.com/
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installer Design

2007-06-22 Thread Pierson Lee (Volt)
 It's a dependency on whether you are on the SQL server or the website UI, but 
the PM wanted one installer to do both.

I can do the radio button but how do I tell the UI which feature to install? I 
haven't found anything in the tutorial beyond the Level flag in feature, but if 
I set the level high enough it will get the lower level one too. Is it to be 
done through conditions?

From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Friday, June 22, 2007 12:40 PM
To: Pierson Lee (Volt); 'Bob Arnson'
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Installer Design

You could presumably use a pair of radio buttons to change the feature state 
rather than using a feature-selection tree dialog. I believe this was discussed 
recently regarding the use of checkboxes (like Office 2003) to control feature 
selection.

The user would still be able to control the feature selection states on the 
command line. To avoid this you'd probably need to add an Error custom action 
(type 19) at some point.

Why is it not possible to install both the service and the websites?

--
Mike Dimmick


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: 22 June 2007 20:14
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Installer Design

That would be good if I wanted the user to choose which feature to install. 
What I'm trying to do is install two mutually exclusive features. So if they 
choose to install one, it won't install the other.

Is that possible?

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 21, 2007 5:21 PM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Installer Design

Pierson Lee (Volt) wrote:

To accomplish my first goal of being able to choose one of two, do I want to be 
looking at Merge Modules?

No. Just use features; the stock feature-selection control gives users control 
over which features get installed and Feature/ComponentRef elements give you 
control over which components go into which features.

--

sig://boB

http://joyofsetup.com/
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installer Design

2007-06-21 Thread Pierson Lee (Volt)
This might be slightly off topic for the thread.

I am looking to create an installer that seems complex in my mind

I want it to be able to install 1 of two applications dependent upon user 
input. It either installs a service or a set of websites, depending on what the 
user chooses on the UI.  I also want to be able to deploy this over the network 
and not necessarily on the local machines.

I have been reading extensively about WiX for the last week and I think I have 
a basic understanding. Part of my problem is that I hopped into this before 
sitting back and designing it.

I currently have 3 wxs files (one main, 2 fragments) that do the website 
installation and moving the installation files.

To accomplish my first goal of being able to choose one of two, do I want to be 
looking at Merge Modules?

Anyone have any good guides/tutorials regarding installer/setup logic that I 
can refer to, so I can see what I need to do?

Thanks!

--Pierson
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Remove Guid from Property Id in Merge Module.

2007-06-20 Thread Pierson Lee (Volt)
Do you have any source I can look at? I can't seem to duplicate this.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 1:27 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Remove Guid from Property Id in Merge Module.

Hello,

I have a Condition being checked in a Component. That Component is in a
Merge Module (Module/). For argument's sake, less call the property
id=X. If X=1 is satisfied, then the component should be installed.
If not, don't install it.

All that works fine, but when I look at the resulting msm file, the
actual name of the condition that is being checked is X concatenated
with the module Guid.

So in the Installer that calls the Merge Module, it has to set
X.--- in order to get that conditional component to
install instead of  just X.

Can anyone tell me how I can get the wix to create that property as just
X, and not X with the Guid attached?

Thanks,

Robert.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Remove Guid from Property Id in Merge Module.

2007-06-20 Thread Pierson Lee (Volt)
I Don't see anywhere in there where you declare the property before you use it. 
You may want to declare the property first
Using Property Id='SS_INSTALL_COM / before you evaluate it. I think right now 
because its in a Component / tag and that you aren't using a Property / tag 
its thinking that SS_INSTALL_COM is a property of the component and attaching 
the GUID to make it unique.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 2:33 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Remove Guid from Property Id in Merge Module.

Hi Pierson,

Here is a sample.  It creates a merge module that contains notepad.exe.
If you need it, I can send you the resulting .msm file. I don't know if
the mailgroup admins allow attachments. Anyway, when I look at the
resulting msm file, the property in the condition is changed to:

SS_INSTALL_COM.98D2E4B9_9DA9_4F65_86A2_C71387B2AE10=1

Am I specifying the property wrong or something?

!--Source below --


Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'
  Module Id='MyModule' Guid='98D2E4B9-9DA9-4F65-86A2-C71387B2AE10'
Language='1033' Version='1.0.0.0'
   Package Id='98D2E4B9-9DA9-4F65-86A2-C71387B2AE10'
InstallerVersion='200' Compressed='yes' Manufacturer='Test'/
  Directory Id='TARGETDIR' Name='SourceDir'
  Directory Id='CommonFilesFolder' Name='CFiles'
  Directory Id='TestShared' Name='Test'
  Component Id='Comp2'
Guid='DE265B7D-F726-41A9-9F0D-7A0449A6CEDE' 
  File Id='Comp2.notepad' Name='notepad.exe'
Source='C:\windows\notepad.exe' /
  ConditionSS_INSTALL_COM=1 /Condition
  /Component
  /Directory
  /Directory
  /Directory
  /Module
/Wix

-Original Message-
From: Pierson Lee (Volt) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 5:01 PM
To: Robert Priest; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Remove Guid from Property Id in Merge Module.

Do you have any source I can look at? I can't seem to duplicate this.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, June 20, 2007 1:27 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Remove Guid from Property Id in Merge Module.

Hello,

I have a Condition being checked in a Component. That Component is in a
Merge Module (Module/). For argument's sake, less call the property
id=X. If X=1 is satisfied, then the component should be installed.
If not, don't install it.

All that works fine, but when I look at the resulting msm file, the
actual name of the condition that is being checked is X concatenated
with the module Guid.

So in the Installer that calls the Merge Module, it has to set
X.--- in order to get that conditional component to
install instead of  just X.

Can anyone tell me how I can get the wix to create that property as just
X, and not X with the Guid attached?

Thanks,

Robert.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Heat.exe issue with file

2007-06-19 Thread Pierson Lee (Volt)
I'm getting the following error message when trying to create a .wxs file using 
heat. I started trying to get the whole directory but I located the file that 
its having a problem on and I'm trying to determine why I continue to get the 
error message on even just using heat on that specific file. (I have to rename 
the file in my error). Any information would be great. The file is 
FOO.something.something.dll .

Microsoft (R) Windows Installer XML Toolset Harvester version 3.0.2925.0
Copyright (C) Microsoft Corporation 2006. All rights reserved.

heat.exe : error HEAT0001 : Item has already been added. Key in dictionary: 
'FOO.Cells.?\CLSID/'  Key being added: 'FOO.Cells.?\CLSID/'

Exception Type: System.ArgumentException

Stack Trace:
   at System.Collections.SortedList.Add(Object key, Object value)
   at 
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilFinalizeHarvesterMutator.MutateComponents()
   at 
Microsoft.Tools.WindowsInstallerXml.Extensions.UtilFinalizeHarvesterMutator.Mutate(Wix
 wix)
   at Microsoft.Tools.WindowsInstallerXml.Mutator.Mutate(Wix wix)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Heat.Run(String[] args)
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding items to IIS: What am I doing wrong?

2007-06-18 Thread Pierson Lee (Volt)
The MSI completes with a line in the add/remove programs but the application 
pools are not created in the IIS metabase.

From: Rob Mensching
Sent: Sunday, June 17, 2007 9:44 AM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: Adding items to IIS: What am I doing wrong?

What's the problem?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: Friday, June 15, 2007 4:55 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding items to IIS: What am I doing wrong?

My eventual goal is to be able to create a website through WiX, but currently 
this is supposed to add two new Application Pools in IIS and it isn't even 
doing that. What am I doing wrong? Any help would be great. Thanks
--Pierson

code

?xml version=1.0 encoding=utf-8?


Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension;
  Product Id=DBAB017C-1C26-4294-9ECC-E069B2BD3501 Name=AppPool Creator 
Language=1033 Version=0.1.0.0 Manufacturer=Microsoft Corporation 
UpgradeCode=B63F9B80-B0B4-4955-B5D2-3B9D50B1DF54
Package Description=AppPool Creator Comments=6/15/2007 Pierson 
Manufacturer=Microsoft Corporation InstallerVersion=100 Compressed=yes /
UI /
Directory Id=TARGETDIR Name=SourceDir

Component Guid=62CE44C2-0935-4139-9DB3-638A9B567835 
Id=AppPoolComponent
  iis:WebAppPool Id=AppPool1 Name= AppPool_1 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /
  iis:WebAppPool Id=AppPool2 Name=AppPool_2 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /
/Component

/Directory
Feature Id=ApplicationPool Level=1
  ComponentRef Id=AppPoolComponent /
/Feature
  /Product
/Wix



/code
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding items to IIS: What am I doing wrong?

2007-06-18 Thread Pierson Lee (Volt)
I actually ended up rewriting it from scratch and it seemed to work the second 
time. Don't know what the difference was. Thanks for everyone's help!

From: Rob Mensching
Sent: Monday, June 18, 2007 12:18 PM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: Adding items to IIS: What am I doing wrong?

Was the Component installed?

From: Pierson Lee (Volt)
Sent: Monday, June 18, 2007 9:56 AM
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: Adding items to IIS: What am I doing wrong?

The MSI completes with a line in the add/remove programs but the application 
pools are not created in the IIS metabase.

From: Rob Mensching
Sent: Sunday, June 17, 2007 9:44 AM
To: Pierson Lee (Volt); wix-users@lists.sourceforge.net
Subject: RE: Adding items to IIS: What am I doing wrong?

What's the problem?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee 
(Volt)
Sent: Friday, June 15, 2007 4:55 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Adding items to IIS: What am I doing wrong?

My eventual goal is to be able to create a website through WiX, but currently 
this is supposed to add two new Application Pools in IIS and it isn't even 
doing that. What am I doing wrong? Any help would be great. Thanks
--Pierson

code

?xml version=1.0 encoding=utf-8?


Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension;
  Product Id=DBAB017C-1C26-4294-9ECC-E069B2BD3501 Name=AppPool Creator 
Language=1033 Version=0.1.0.0 Manufacturer=Microsoft Corporation 
UpgradeCode=B63F9B80-B0B4-4955-B5D2-3B9D50B1DF54
Package Description=AppPool Creator Comments=6/15/2007 Pierson 
Manufacturer=Microsoft Corporation InstallerVersion=100 Compressed=yes /
UI /
Directory Id=TARGETDIR Name=SourceDir

Component Guid=62CE44C2-0935-4139-9DB3-638A9B567835 
Id=AppPoolComponent
  iis:WebAppPool Id=AppPool1 Name= AppPool_1 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /
  iis:WebAppPool Id=AppPool2 Name=AppPool_2 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /
/Component

/Directory
Feature Id=ApplicationPool Level=1
  ComponentRef Id=AppPoolComponent /
/Feature
  /Product
/Wix



/code
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Uninstall forms - removing folders dependent upon user input

2007-06-18 Thread Pierson Lee (Volt)
Another question:

I am attempting to remove a folder set that I created during install in the 
uninstall process, but its two-fold.


1.   I need to ask the user if they want to remove the folders during the 
uninstall process (which I can do on a dialog window with a check box during 
the remove process)

2.   I need to then check and see if the box is checked and if it is, 
remove the folders, regardless if they are empty.


Can this be done with WiX and if so, can someone point me in the right 
direction?

I was looking at RemoveFolders but it looks like it only likes empty folders 
(which are already getting removed).


Also, one other thing. If I go to add/remove programs and hit remove I just get 
a quickie pop-up asking if I'm sure I want to uninstall, but if I double click 
on the MSI I get more options. I remember reading somewhere that I can get the 
modify/remove from the add/remove programs window also, but for the life of me 
I can't find it again.

Thanks for helping a newbie out

--pierson
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Adding items to IIS: What am I doing wrong?

2007-06-15 Thread Pierson Lee (Volt)
My eventual goal is to be able to create a website through WiX, but currently 
this is supposed to add two new Application Pools in IIS and it isn't even 
doing that. What am I doing wrong? Any help would be great. Thanks
--Pierson

code

?xml version=1.0 encoding=utf-8?


Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension;
  Product Id=DBAB017C-1C26-4294-9ECC-E069B2BD3501 Name=AppPool Creator 
Language=1033 Version=0.1.0.0 Manufacturer=Microsoft Corporation 
UpgradeCode=B63F9B80-B0B4-4955-B5D2-3B9D50B1DF54
Package Description=AppPool Creator Comments=6/15/2007 Pierson 
Manufacturer=Microsoft Corporation InstallerVersion=100 Compressed=yes /
UI /
Directory Id=TARGETDIR Name=SourceDir

Component Guid=62CE44C2-0935-4139-9DB3-638A9B567835 
Id=AppPoolComponent
  iis:WebAppPool Id=AppPool1 Name= AppPool_1 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /
  iis:WebAppPool Id=AppPool2 Name=AppPool_2 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /
/Component

/Directory
Feature Id=ApplicationPool Level=1
  ComponentRef Id=AppPoolComponent /
/Feature
  /Product
/Wix



/code
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Adding items to IIS: What am I doing wrong?

2007-06-15 Thread Pierson Lee (Volt)
My eventual goal is to be able to create a website through WiX, but currently 
this is supposed to add two new Application Pools in IIS and it isn't even 
doing that. What am I doing wrong? Any help would be great. Thanks
--Pierson

code

?xml version=1.0 encoding=utf-8?


Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension;
  Product Id=DBAB017C-1C26-4294-9ECC-E069B2BD3501 Name=AppPool Creator 
Language=1033 Version=0.1.0.0 Manufacturer=Microsoft Corporation 
UpgradeCode=B63F9B80-B0B4-4955-B5D2-3B9D50B1DF54
Package Description=AppPool Creator Comments=6/15/2007 Pierson 
Manufacturer=Microsoft Corporation InstallerVersion=100 Compressed=yes /
UI /
Directory Id=TARGETDIR Name=SourceDir

Component Guid=62CE44C2-0935-4139-9DB3-638A9B567835 
Id=AppPoolComponent
  iis:WebAppPool Id=AppPool1 Name= AppPool_1 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /
  iis:WebAppPool Id=AppPool2 Name=AppPool_2 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension; /
/Component

/Directory
Feature Id=ApplicationPool Level=1
  ComponentRef Id=AppPoolComponent /
/Feature
  /Product
/Wix



/code
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding items to IIS: What am I doing wrong?

2007-06-15 Thread Pierson Lee (Volt)
Interesting, because in the help documentation for the IIS Schema, it shows 
that the I don't have a RecycleTime element anymore


FYI (and I forgot to post) I'm using v 3.0.2925

From: Francis Kam [mailto:[EMAIL PROTECTED]
Sent: Friday, June 15, 2007 5:20 PM
To: Pierson Lee (Volt)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Adding items to IIS: What am I doing wrong?

I haven't worked with these extensions really, but judging from the 
documentation (http://wix.sourceforge.net/manual-wix2/wix_xsd_webapppool.htm ) 
the child RecycleTime element is required. Have you tried specifying that?

Off-topic: I don't suppose you happen to be the Pierson Lee that I knew back in 
high school are you...?

-Francis


On 6/15/07, Pierson Lee (Volt) [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] 
wrote:

My eventual goal is to be able to create a website through WiX, but currently 
this is supposed to add two new Application Pools in IIS and it isn't even 
doing that. What am I doing wrong? Any help would be great. Thanks

--Pierson



code



?xml version =1.0 encoding =utf-8?





Wix xmlns = http://schemas.microsoft.com/wix/2006/wi; xmlns:iis= 
http://schemas.microsoft.com/wix/IIsExtension;

  Product Id=DBAB017C-1C26-4294-9ECC-E069B2BD3501 Name=AppPool Creator 
Language= 1033 Version= 0.1.0.0http://0.1.0.0 Manufacturer=Microsoft 
Corporation UpgradeCode=B63F9B80-B0B4-4955-B5D2-3B9D50B1DF54

Package Description=AppPool Creator Comments=6/15/2007 Pierson 
Manufacturer= Microsoft Corporation InstallerVersion= 100 Compressed=yes 
/

UI /

Directory Id=TARGETDIR Name =SourceDir



Component Guid=62CE44C2-0935-4139-9DB3-638A9B567835 
Id=AppPoolComponent

  iis:WebAppPool Id=AppPool1 Name= AppPool_1 
xmlns:iis =http://schemas.microsoft.com/wix/IIsExtension  /

  iis:WebAppPool Id=AppPool2 Name=AppPool_2 
xmlns:iis =http://schemas.microsoft.com/wix/IIsExtension  /

/Component



/Directory

Feature Id=ApplicationPool Level =1

  ComponentRef Id=AppPoolComponent /

/Feature

  /Product

/Wix







/code

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users