[WiX-users] Downloading an MsiPackage with Burn

2011-12-06 Thread David Keaveny
I'm building an MSI package to distribute an application that makes
use of SQL Server 2008 R2 SMO, and wanted to add it to the
bootstrapper, and since Microsoft doesn't provide a bootstrapper
package for SMO, I thought it would be a good chance to see what the
much-talked-about Burn can do for me.

For added excitement, I'm going to be building 32-bit and 64-bit
installers. I've got WiX doing the magic to produce the MSIs for the
application without major issue, it's just the last step of getting
Burn going that's the problem.

My Bootstrapper.wxs looks like this:


http://schemas.microsoft.com/wix/2006/wi";
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";>

   
   
   
   
   

   
   
   http://go.microsoft.com/fwlink/?LinkID=188442&clcid=0x409";
   Name="SharedManagementObjects.msi"
   Compressed="no"
   Vital="yes" />
   http://go.microsoft.com/fwlink/?LinkID=188441&clcid=0x409";
   Name="SharedManagementObjects.msi"
   Compressed="no"
   Vital="yes" />
   
   
   
   


When I run this through Candle and then Light, I get the following error:

error LGHT0103 : The system cannot find the file
'SourceDir\SharedManagementObjects.msi'.

So my questions:

Firstly, do I have to have the prerequisites actually on my file
system when I'm running Burn?

Secondly, am I handling the 32-bit vs 64-bit correctly, by including
mutually exclusive MsiPackage elements for the appropriate bit-ness?

Finally, what is the difference between the Manufacturer, ProductName,
HelpTelephone attributes on Bundle, and the /Product/@Name,
/Product/@Manufacturer and Property[@Id='ARPHELPTELEPHONE'] fields set
in the main Product.wxs file when building the MSI itself.

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] major update which must uninstall previous installations with support of selection per user/per machine

2011-12-06 Thread Sergey
Hello,

I have WIX project for product, which needs updates periodically.
Also I block downgrade installations.
There is a dialog in WIX, which allows to select between per user/per 
machine installation.

Uninstall previous installations is handled using "Upgrade" table:
> 
>  Minimum="1.0.0.0" IncludeMinimum="yes"
>   Maximum="$(var.version)" IncludeMaximum="no"
>   OnlyDetect="no" />
>  Minimum="$(var.version)" IncludeMinimum="no"
>   OnlyDetect="yes"/>
> 


Sequences:
> 
>
> 
>   
>
> 
>
> 
>   
> 

To protect from downgrade I use  element in :
> Message='A later version of "[ProductName]" is already installed: 
> {[NEWAPPFOUND]}. Setup will now exit.'
>>NOT NEWAPPFOUND

So information, found in FindRelatedProducts, is used for 2 tasks:
- uninstall previously installed  products in action RemoveExistingProducts
- block downgrade installations calculating condition of Package. As I 
understand conditions validated in action LaunchConditions
So FindRelatedProducts must be executed before these 2 actions.

Also I have such properties (by default setup is per machine):
>   
>   all
There is UI dialog, where user can change these properties to switch to 
per-user install.

The problem happens when first product is installed per-user.
If upgrade installation is launched, FindRelatedProducts is launched 
before UI dialog with selection per-user/per-machine. At this moment 
ALLUSERS has its default value "1". So FindRelatedProducts suppose that 
new installation will be per-machine (it is incorrect, because later 
user can switch to per-user installation in UI dialog). So 
FindRelatedProducts skips previous per-user installation with message in 
install log:
> MSI (c) (4C:38) [09:58:38:093]: FindRelatedProducts: current install is 
> per-machine.  Related install for product '{OLD-PRODUCT-UID}' is per-user.  
> Skipping...

Old product is not uninstalled and I have list of all versions of my 
product in add/remove products Windows applet.

As I understand the reason of problem is that FindRelatedProducts 
executed before UI dialog with selection between per-user/per-machine.

But I can not make FindRelatedProducts running after this dialog because 
FindRelatedProducts results is also used by LaunchConditions, which must 
run before UI dialogs.

How this problem must be solved? How to make FindRelatedProducts find 
previous per-user installation?

--
Thanks!

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to prevent a regsistry key/value be deleted by a patch.

2011-12-06 Thread 刘昱
Hello

In my project, I need to set my log disabled by privacy reason. And this is
controled by a registry key. I wrote this line to delete it no matter it
was there.





User can turn the log on. While my program will add a value to this key.
Like EnableLog = 1.

However, when I install a patch. It will delete this key, my log setting
got lost.

Is there a way I can tell my msp "I'm a msp, don't change anything to my
registry?"

I'm so idiot of the msp install syntax, my msp file is quite like a copy
from the WiX tutorial:



 
  
   
  
  
   
  
 


Thanks!
--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg Dialog sequence is Shown Twice

2011-12-06 Thread Chris Lord
Robert,

I double checked my own installer which uses Wix 3.0 and the 
WixUI_Common UI with an extra dialog that I coded and include in the 
sequence.

I have a bunch of lines relating to all the other dialogs that are used 
to move from one dialog to another depending on the button pressed and 
what the values of certain properties are but like you, I dont have 
anything for VerifyReadyDialog other for the "Back" buttons either.

Not sure I can assist any further though I am going to try my installer 
now to make sure mine doesnt do the same!!!

Chris

-Original Message-
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: Tuesday, December 06, 2011 5:09 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, 
VerifyReadyDlg Dialog sequence is Shown Twice

To follow up with my last email 

VerifyReadyDialog does trigger the uninstall, it just takes one too many 
times... its like a flag is not being set correctly
either by me or something else ...   I should be to click the remove 
button on that dialog and it should kick off the uninstall right away 
versus the second sequence ...



-Original Message-
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: Tuesday, December 06, 2011 4:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, 
VerifyReadyDlg Dialog sequence is Shown Twice

It's my understanding the VerifyReadyDlg is a standard dialog so unless 
you override something, it knows what to do.

If I need to give more direction .. what is the next Dialog ?  I thought 
VerifyReadyDlg is the last dialog in the sequence before the installer 
performs the uninstall.

Rob


-Original Message-
From: Chris Lord [mailto:chris.l...@atterotech.com] 
Sent: Tuesday, December 06, 2011 3:19 PM
To: wix-users
Subject: Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, 
VerifyReadyDlg Dialog sequence is Shown Twice

Robert,

You've only posted what the "back" buton does for the VerifyReadDlg.  
What do you have for the "Remove" button?

Chris

-Original Message-
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: Tuesday, December 06, 2011 3:43 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg 
Dialog sequence is Shown Twice

When I goto to remove my installed product by running the installer 
twice and going into maintenance mode,   here is the sequence of dialogs 

I get


1.   MaintenanceWelcomeDlg.  Click next

2.   MaintenanceTypeDlg  click remove

3.   VerifyReadyDlg click remove

4.   MaintenanceTypeDlg click remove

5.   VerifyReadyDlg click remove

6.   Product uninstalls 

Here is my snippet of code to

1

1
1
1

 NOT Installed
Installed

I've tried run this uninstall from the command line but when I run it 
with msiexec /uninstall .. it uninstalls without the repeating dialog 
sequence.

Rob


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and 
point of 
discussion for anyone considering optimizing the pricing and packaging 
model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and 
point of 
discussion for anyone considering optimizing the pricing and packaging 
model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and 
point of 
discussion for anyone considering optimizing the pricing and packaging 
model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and 
point of 
discussion for anyone consi

Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg Dialog sequence is Shown Twice

2011-12-06 Thread Robert Hermann
To follow up with my last email 

VerifyReadyDialog does trigger the uninstall, it just takes one too many 
times... its like a flag is not being set correctly
either by me or something else ...   I should be to click the remove button on 
that dialog and it should kick off the uninstall right away versus the second 
sequence ...



-Original Message-
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: Tuesday, December 06, 2011 4:00 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg 
Dialog sequence is Shown Twice

It's my understanding the VerifyReadyDlg is a standard dialog so unless you 
override something, it knows what to do.

If I need to give more direction .. what is the next Dialog ?  I thought 
VerifyReadyDlg is the last dialog in the sequence before the installer performs 
the uninstall.

Rob


-Original Message-
From: Chris Lord [mailto:chris.l...@atterotech.com] 
Sent: Tuesday, December 06, 2011 3:19 PM
To: wix-users
Subject: Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg 
Dialog sequence is Shown Twice

Robert,

You've only posted what the "back" buton does for the VerifyReadDlg.  
What do you have for the "Remove" button?

Chris

-Original Message-
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: Tuesday, December 06, 2011 3:43 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg 
Dialog sequence is Shown Twice

When I goto to remove my installed product by running the installer 
twice and going into maintenance mode,   here is the sequence of dialogs 
I get


1.   MaintenanceWelcomeDlg.  Click next

2.   MaintenanceTypeDlg  click remove

3.   VerifyReadyDlg click remove

4.   MaintenanceTypeDlg click remove

5.   VerifyReadyDlg click remove

6.   Product uninstalls 

Here is my snippet of code to

1

1
1
1

 NOT Installed
Installed

I've tried run this uninstall from the command line but when I run it 
with msiexec /uninstall .. it uninstalls without the repeating dialog 
sequence.

Rob


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and 
point of 
discussion for anyone considering optimizing the pricing and packaging 
model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg Dialog sequence is Shown Twice

2011-12-06 Thread Robert Hermann
It's my understanding the VerifyReadyDlg is a standard dialog so unless you 
override something, it knows what to do.

If I need to give more direction .. what is the next Dialog ?  I thought 
VerifyReadyDlg is the last dialog in the sequence before the installer performs 
the uninstall.

Rob


-Original Message-
From: Chris Lord [mailto:chris.l...@atterotech.com] 
Sent: Tuesday, December 06, 2011 3:19 PM
To: wix-users
Subject: Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg 
Dialog sequence is Shown Twice

Robert,

You've only posted what the "back" buton does for the VerifyReadDlg.  
What do you have for the "Remove" button?

Chris

-Original Message-
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: Tuesday, December 06, 2011 3:43 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg 
Dialog sequence is Shown Twice

When I goto to remove my installed product by running the installer 
twice and going into maintenance mode,   here is the sequence of dialogs 
I get


1.   MaintenanceWelcomeDlg.  Click next

2.   MaintenanceTypeDlg  click remove

3.   VerifyReadyDlg click remove

4.   MaintenanceTypeDlg click remove

5.   VerifyReadyDlg click remove

6.   Product uninstalls 

Here is my snippet of code to

1

1
1
1

 NOT Installed
Installed

I've tried run this uninstall from the command line but when I run it 
with msiexec /uninstall .. it uninstalls without the repeating dialog 
sequence.

Rob


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and 
point of 
discussion for anyone considering optimizing the pricing and packaging 
model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg Dialog sequence is Shown Twice

2011-12-06 Thread Chris Lord
Robert,

You've only posted what the "back" buton does for the VerifyReadDlg.  
What do you have for the "Remove" button?

Chris

-Original Message-
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: Tuesday, December 06, 2011 3:43 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg 
Dialog sequence is Shown Twice

When I goto to remove my installed product by running the installer 
twice and going into maintenance mode,   here is the sequence of dialogs 
I get


1.   MaintenanceWelcomeDlg.  Click next

2.   MaintenanceTypeDlg  click remove

3.   VerifyReadyDlg click remove

4.   MaintenanceTypeDlg click remove

5.   VerifyReadyDlg click remove

6.   Product uninstalls 

Here is my snippet of code to

1

1
1
1

 NOT Installed
Installed

I've tried run this uninstall from the command line but when I run it 
with msiexec /uninstall .. it uninstalls without the repeating dialog 
sequence.

Rob


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and 
point of 
discussion for anyone considering optimizing the pricing and packaging 
model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg Dialog sequence is Shown Twice

2011-12-06 Thread Chad Petersen
The inner text in a Publish element is the Condition expression. An
inner text of 1 says to "always do it". I could be off here, but it
seems like you just need to set up a proper Condition for each inner
text to only show the given dialog under a given condition.

Mine look a bit like this






-Original Message-
From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] 
Sent: Tuesday, December 06, 2011 12:43 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg
Dialog sequence is Shown Twice

When I goto to remove my installed product by running the installer
twice and going into maintenance mode,   here is the sequence of dialogs
I get


1.   MaintenanceWelcomeDlg.  Click next

2.   MaintenanceTypeDlg  click remove

3.   VerifyReadyDlg click remove

4.   MaintenanceTypeDlg click remove

5.   VerifyReadyDlg click remove

6.   Product uninstalls 

Here is my snippet of code to

1

1
1
1

 NOT Installed
Installed

I've tried run this uninstall from the command line but when I run it
with msiexec /uninstall .. it uninstalls without the repeating dialog
sequence.

Rob


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and
point of 
discussion for anyone considering optimizing the pricing and packaging
model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] DIFxAPP and Properties question

2011-12-06 Thread Robert Randall
I have a perfectly useful device driver installation using WiX and the
DIFxAPP extensions.  It is quite lovely and very little code.

I do have one quick question.  With typical MSI databases you can set
the various ARP* properties to present additional information in the
Programs and Features or Add/Remove Programs (Vista+ or older).

If I attempt to use these properties in my wxs that includes the
DifxAppExtension it results in two packages being installed and listed
in Programs and Features.  This is confusing.

Is there a way to use DifxAppExtensions and still provide the
additional Properties information?

Best regards,
Robert.


-- 
Robert Randall | robert.r.rand...@gmail.com

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix Uninstall - MaintenanceTypeDlg, VerifyReadyDlg Dialog sequence is Shown Twice

2011-12-06 Thread Robert Hermann
When I goto to remove my installed product by running the installer twice and 
going into maintenance mode,   here is the sequence of dialogs I get


1.   MaintenanceWelcomeDlg.  Click next

2.   MaintenanceTypeDlg  click remove

3.   VerifyReadyDlg click remove

4.   MaintenanceTypeDlg click remove

5.   VerifyReadyDlg click remove

6.   Product uninstalls 

Here is my snippet of code to

1

1
1
1

 NOT Installed
Installed

I've tried run this uninstall from the command line but when I run it with 
msiexec /uninstall .. it uninstalls without the repeating dialog sequence.

Rob

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Admin access for ICEs and NIT

2011-12-06 Thread Gary Gocek
Here is the post that leads me to believe that admin rights are required 
for ICEs and NIT. It is a continuous integration environment that fails for 
me with a build account that does not have admin rights:

http://stackoverflow.com/questions/1064580/wix-3-0-throws-error-217-while-be
ing-executed-by-continuous-integration


-
My original question in this forum:

Is it correct to say that if LIGHT is allowed to run the internal 
consistency evaluators (ICEs, light runs them by default), and if NIT is 
used to run unit tests, that the account performing these actions requires 

admin rights? (WIX 3.5, Windows Server 2008 R2.)

This is because ICEs and NIT run custom actions, which access the Windows 
Installer service, and that access requires admin rights.

Disabling the ICEs and not running NIT allow my build to complete, and the 

MSI file is created. I'm just verifying that LIGHT will fail when running 
ICEs without admin rights, and there's no way around that.

Thanks,
Gary
--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Service upgrades

2011-12-06 Thread Keith.Douglas
(New subscriber, so please bear with me if this is explained in some location I 
cannot find - I've ran several searches and lookthroughs of the mailing list. 
Simply pass along a URL if that's appropriate.)

I'm trying to install a upgrade to an in-house developed service - this part 
works quite well, in fact, too well:

If the files are in use, because the service is running RestartManager or 
something of the sort seems to automatically kick in and the service is 
successfully shutdown and restarted. 

Instead, what I want to do is find a way to sort of "defer install" it so the 
service can (effectively) upgrade itself. In our use, we need to do unattended 
upgrades of a service in an environment where the user is not an administrator 
(in fact, the service provides various escalated functions to our other 
applications, including but not only front-ending installations of other 
stuff). I seem to remember having read *somewhere* that this is possible, but 
it was months ago before an upgrade and I fear I've lost the bookmark. (They'd 
be downloading it and doing the installation off-network, if that matters: 
these are *very* sporadically connected non-AD machines.)

One of the reasons to do the "install itself" is not only because the user will 
not be able to do so anyway and also because it should be transparent to them, 
but also because we want to do some of our own logging and moving of 
installation packages to success or failure directories if the installation was 
successfully set up "deferred" for installation. We do not care if the defer 
delays the installation to after a restart so that our service is not running, 
etc. when the installation happens: I seem to understand this is the way to go 
anyway. (We will tell the user to restart manually when they are ready or delay 
it until all our other maintenance and such is done and do it for them - at 
present undecided.)

If it matters, the target platform is Vista SP 2 only (for now: it will never 
be anything lower than this).

(BTW: Thanks to all the developers and documenters and so on for WiX - it is 
proving to be quite useful for us!)



Keith Douglas
Statistics Canada | 170 Tunney's Pasture Driveway, Ottawa ON K1A 0T6
Statistique Canada | 170, promenade Tunney's Pasture, Ottawa ON K1A 0T6
keith.doug...@statcan.gc.ca
Telephone | Téléphone 613-951-4405
Facsimile | Télécopieur 613-951-1966
Government of Canada | Gouvernement du Canada 



--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Admin access for ICEs and NIT

2011-12-06 Thread Gary Gocek
Is it correct to say that if LIGHT is allowed to run the internal 
consistency evaluators (ICEs, light runs them by default), and if NIT is 
used to run unit tests, that the account performing these actions requires 
admin rights? (WIX 3.5, Windows Server 2008 R2.)

This is because ICEs and NIT run custom actions, which access the Windows 
Installer service, and that access requires admin rights.

Disabling the ICEs and not running NIT allow my build to complete, and the 
MSI file is created. I'm just verifying that LIGHT will fail when running 
ICEs without admin rights, and there's no way around that.

Thanks,
Gary
--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] xp auto start pre installed service

2011-12-06 Thread jhennessey
You could change the registry value for the service that maps to the startup
type. In your case you said the service name was "wzcsvc" so you would
change this registry value (DWORD): 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wzcsvc\Start

to "2".

Here's a little bit of info on these registry keys / values: 
http://support.microsoft.com/kb/103000
http://support.microsoft.com/kb/103000 

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/xp-auto-start-pre-installed-service-tp7064419p7066814.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] XP to Windows 7 differences in starting a service ...

2011-12-06 Thread Marcus MacWilliam
Hello,

Our installed for our DAM (Data Access Manager) product starts the DAM
as a service. This requires a license to start up successfully.

On XP, if the service fails to start, because it is unlicensed, the 
Installation
still succeeds. The administrator can copy the license to the correct 
directory,
and start the service from the Services in control panel.

However, on Windows 7 (and 2008 Server) if the service fails to start a 
dialog
box appears with Retry and Cancel. Retry just goes around in a loop, 
attempting
to restart the service. However, Cancel assumes you are cancelling the
entire installation, and it removes all of the software.

We need to be able to install the DAM unlicensed on Windows 7 (and 
Server 2008).
Any ideas as to how I may resolve this problem, or what has changed that
newer Windows are not behaving as they were in XP.

Cheers,

-- 
Marcus A.T MacWilliam, Senior Software Engineer. 1Spatial Ltd.
Tel: +44 (0)1223 420414, ext 2289,Mob: +44 (0)7803 706597.
E-Mail: marcus.macwill...@1spatial.com Skype:marcus.macwilliam

Tennyson House, 7 Cambridge Business Park, Cambridge, CB4 0WZ.
Registered in England No. 4785688, VAT Reg. No. 816329821.
Website: http://www.1spatial.com/E-mail: i...@1spatial.com



Keep up to date with the latest 1Spatial news and events

1Spatial: Steering you towards efficient and reliable location-based data with 
the 1Spatial Data Improvement Process

http://www.1spatial.com/solutions/dip.php

1Spatial Group Limited; Registered in England No. 4785688 VAT Reg. No. 
816329821; Registered Office: Tennyson House; Cambridge Business Park; 
Cambridge; CB4 0WZ; United Kingdom

IMPORTANT NOTICE
 
This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this e-mail in error please notify the sender immediately and 
delete this e-mail from your system. Please note that any views or opinions 
presented in this e-mail are solely those of the author and do not necessarily 
represent those of 1Spatial Group Limited, its subsidiaries or associated 
companies, except where the author specifically states them to be the views of 
1Spatial Group Limited, its subsidiaries or associated companies.
 
1Spatial Group Limited, its subsidiaries and associated companies will not be 
held liable for any legally binding obligations that are not the subject of an 
official 1Spatial purchase order or as part of a contract signed by a director 
of one of the aforementioned companies.
 
Although the company has taken reasonable precautions to ensure no viruses are 
present in this email, the company cannot accept responsibility for any loss or 
damage arising from the use of this email or attachments. You should understand 
and accept that, when communicating with us by e-mail, it is not a totally 
secure communications medium.


--
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users