Re: [WiX-users] VS2010, Wix and MSBUILD

2011-03-24 Thread Michael Tissington
Thanks for this - It looks like a BUG in the WiX targets file that is not
defining DevEnvDir on a machine without Visual Studio 2010 installed.

-Original Message-
From: Pat O'Shea [mailto:pat.d.os...@gmail.com] 
Sent: 23 March 2011 19:55
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] VS2010, Wix and MSBUILD

Is this your issue?
http://connect.microsoft.com/VisualStudio/feedback/details/368734/-devenvdir
-inconsistent-between-build-in-visual-studio-and-msbuild

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/VS2010-Wix-and
-MSBUILD-tp6192992p6201716.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses are
taking advantage of Intel(R) vPro (TM) technology - will your software be a
part of the solution? Download the Intel(R) Manageability Checker today!
http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] First attempt at using WiX is not going good.

2011-03-24 Thread Peter Shirtcliffe
Add a component like this to fix ICE64.  RemoveFolder adds the required
RemoveFile table entry. The registry value just provides a keypath for the
component.

  Component Id=RemoveShortcutDir
RemoveFolder Id=RemoveShortcutDir Directory=myStartDir 
On=uninstall /
RegistryValue Root=HKMU Key=Software\WIndustries\Installer
Name=RemoveShortcutDir Value=keypath KeyPath=yes Type=string /
  /Component  

To fix icon bloat, you extract an ico file from the exe and reference that in
the shortcut instead. The reason is that if you advertise a shortcut with an
icon that's in an exe, the whole exe is copied to provide an icon file in the
start menu, even though the rest of the installation hasn't been installed
yet.

If you get any more ICE errors, it's worth searching for the ICE error code
in this list or elsewhere. These things tend to crop up often.

Hope that helps.

-Original Message-
From: Wilson, Brian [mailto:brian.wil...@dhr.alabama.gov] 
Sent: 23 March 2011 20:42
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] First attempt at using WiX is not going good.

Good Afternoon,

I am trying to create an installer that will install an application that can
be used by any user of the PC.  It will also create a Start menu shortcut and
a Desktop shortcut, for all users.  I am running WiX 3.5 with Visual Studio
2010 on a Windows 7 machine.  I am using heat on two different directories to
generate fragments.  I am using a XSLT against one of the fragments to insert
the shortcuts into the fragment.  I am running all the steps from NAnt, if
that makes a difference.

Here is the XSL file:
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
xmlns:wix=http://schemas.microsoft.com/wix/2006/wi;
xsl:output method=xml indent=yes version=1.0 encoding=utf-8
/

xsl:template match=node() | @*
xsl:copy
xsl:apply-templates select=@* | node() /
/xsl:copy
/xsl:template

xsl:template
match=wix:File[@Source='!(wix.ImportSrc)\Import.exe']
xsl:copy
xsl:apply-templates select=@* | node() /
xsl:text#10;#9;#9;#9;#9;#9;/xsl:text
xsl:element name=Shortcut
use-attribute-sets=StartMenu-Shortcut
namespace=http://schemas.microsoft.com/wix/2006/wi; /
xsl:text#10;#9;#9;#9;#9;#9;/xsl:text
xsl:element name=Shortcut
use-attribute-sets=Desktop-Shortcut
namespace=http://schemas.microsoft.com/wix/2006/wi; /
xsl:text#10;#9;#9;#9;#9;/xsl:text
/xsl:copy
/xsl:template

xsl:attribute-set name=StartMenu-Shortcut
xsl:attribute name=IdstartmenuImport/xsl:attribute
xsl:attribute name=DirectorymyStartDir/xsl:attribute
xsl:attribute name=NameImport/xsl:attribute
xsl:attribute
name=WorkingDirectoryINSTALLLOCATION/xsl:attribute
xsl:attribute name=IconicnImport/xsl:attribute
xsl:attribute name=IconIndex0/xsl:attribute
xsl:attribute name=Advertiseyes/xsl:attribute
/xsl:attribute-set

xsl:attribute-set name=Desktop-Shortcut
xsl:attribute name=IddesktopImport/xsl:attribute
xsl:attribute name=DirectoryDesktopFolder/xsl:attribute
xsl:attribute name=NameImport/xsl:attribute
xsl:attribute
name=WorkingDirectoryINSTALLLOCATION/xsl:attribute
xsl:attribute name=IconicnImport/xsl:attribute
xsl:attribute name=IconIndex0/xsl:attribute
xsl:attribute name=Advertiseyes/xsl:attribute
/xsl:attribute-set
/xsl:stylesheet

Here is my MSI.wxs that calls the fragments:

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Product Id=* Name=Import.Installer Language=1033
Version=1.2.3.4 Manufacturer=W Industries UpgradeCode=MY_GUID

Package Id=* InstallerVersion=310 Compressed=yes
Description= Import and Protocol Installer Manufacturer= W Industries 
InstallScope=perMachine Platform=x86 InstallPrivileges=elevated /

Media Id=1 Cabinet=Import.cab EmbedCab=yes
CompressionLevel=high /

Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder
Directory Id=MyRoot Name= W Industries 
Directory Id=INSTALLLOCATION
Name= Import
Directory Id=ProtocolDir
Name=Protocol /
/Directory
/Directory
/Directory

Directory Id=ProgramMenuFolder Name=StartMenu
Directory Id=myStartDir Name= W
Industries /
   

[WiX-users] Error 1923 upgrading a service

2011-03-24 Thread Matthew Dodkins
Hi there

I'm having problems upgrading an existing service using my wix installer.
i'm getting the 1923 error (Verify that you have sufficient privileges to
install system services.).

This doesn't happen the *first* time I install the service, but when I try
to upgrade it.

I've searched around and tried a few different things, but nothing has
solved it so far.

My ServiceInstall looks like this :-

ServiceInstall Id=ServiceInstaller Type=ownProcess Vital=yes Name=My
Service Name DisplayName=My Display Name Description=My description
Start=auto Account=LocalSystem ErrorControl=ignore Interactive=no

I'm logged in as a local administrator. I've tried logging in direct on the
machine, not just from remote desktop. I've tried making sure the Name
attribute in the ServiceInstall tag matches the service name in the service
code.

If I uninstall the service and run my MSI, it works fine.

Any help would be greatly appreciated.

Thanks!
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Query about use of UAC shield on Install button

2011-03-24 Thread Bruce Cran
Hi,

I have a question about the use of the UAC shield icon on the Install
button when InstallPrivileges=elevated.  According to
http://msdn.microsoft.com/en-us/library/aa511445.aspx, Tasks that
require immediate elevation when UAC is fully enabled have entry points
marked with the UAC shield. In this case, users should expect to see an
Elevation UI immediately after clicking such commands 
But after clicking on Install the wizard moves onto the next page and
it can take several seconds for the elevation prompt to appear.

I'm wondering if WiX is going against the UI guidelines, or if they
instead mean immediate in terms of workflow, not time - i.e. users
aren't allowed to interact with the UI between clicking the button and
getting the elevation prompt, though the UI can update?

-- 
Bruce Cran

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Query about use of UAC shield on Install button

2011-03-24 Thread Skildum, Mathew
This is actually a function of MSI not WIX.  WIX is just the mechanism to build 
the MSI where the rules are enforced.

MSI does follow these guidelines as far as I know.  When you put the UAC shield 
on a button that does not mean the elevation request will happen right away.  
MSI does this request in the execute sequence before the any files are copied 
or deferred actions are run as this is the time when elevation is required.

Mat Skildum

-Original Message-
From: Bruce Cran [mailto:br...@cran.org.uk] 
Sent: Thursday, March 24, 2011 6:30 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Query about use of UAC shield on Install button

Hi,

I have a question about the use of the UAC shield icon on the Install button 
when InstallPrivileges=elevated.  According to 
http://msdn.microsoft.com/en-us/library/aa511445.aspx, Tasks that require 
immediate elevation when UAC is fully enabled have entry points marked with the 
UAC shield. In this case, users should expect to see an Elevation UI 
immediately after clicking such commands 
But after clicking on Install the wizard moves onto the next page and it can 
take several seconds for the elevation prompt to appear.

I'm wondering if WiX is going against the UI guidelines, or if they instead 
mean immediate in terms of workflow, not time - i.e. users aren't allowed to 
interact with the UI between clicking the button and getting the elevation 
prompt, though the UI can update?

--
Bruce Cran

--
Enable your software for Intel(R) Active Management Technology to meet the 
growing manageability and security demands of your customers. Businesses are 
taking advantage of Intel(R) vPro (TM) technology - will your software be a 
part of the solution? Download the Intel(R) Manageability Checker today! 
http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Query about use of UAC shield on Install button

2011-03-24 Thread Bruce Cran
On Thu, 24 Mar 2011 13:07:30 +
Skildum, Mathew mathew.skil...@aspect.com wrote:

 This is actually a function of MSI not WIX.  WIX is just the
 mechanism to build the MSI where the rules are enforced.
 
 MSI does follow these guidelines as far as I know.  When you put the
 UAC shield on a button that does not mean the elevation request will
 happen right away.  MSI does this request in the execute sequence
 before the any files are copied or deferred actions are run as this
 is the time when elevation is required.

But as I understand it, it's WiX that controls whether or not the
button has the shield icon: I'm wondering if it should use the shield
icon on the button at all if the elevation request doesn't happen
straight away.  I'm tending towards yes, since it's a sign that the
action that will occur will need to run as Administrator.

-- 
Bruce Cran

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Query about use of UAC shield on Install button

2011-03-24 Thread Skildum, Mathew
Using the UAC shield is completely up to you not WIX.  Since WIX is just the 
development environment, the job of following guidelines falls to the user.  
The WIX compiler can try to guide you down the right path, but it should not 
force you to do any one thing.  The Button control XML has an option called 
ElevationShield which needs to be enabled to show the icon.

It is always best to enable this when you require elevated rights as this is 
the key indicator to the user the install makes changes to protected areas of 
the OS.

Mat Skildum


-Original Message-
From: Bruce Cran [mailto:br...@cran.org.uk] 
Sent: Thursday, March 24, 2011 8:19 AM
To: General discussion for Windows Installer XML toolset.
Cc: Skildum, Mathew
Subject: Re: [WiX-users] Query about use of UAC shield on Install button

On Thu, 24 Mar 2011 13:07:30 +
Skildum, Mathew mathew.skil...@aspect.com wrote:

 This is actually a function of MSI not WIX.  WIX is just the mechanism 
 to build the MSI where the rules are enforced.
 
 MSI does follow these guidelines as far as I know.  When you put the 
 UAC shield on a button that does not mean the elevation request will 
 happen right away.  MSI does this request in the execute sequence 
 before the any files are copied or deferred actions are run as this is 
 the time when elevation is required.

But as I understand it, it's WiX that controls whether or not the button has 
the shield icon: I'm wondering if it should use the shield icon on the button 
at all if the elevation request doesn't happen straight away.  I'm tending 
towards yes, since it's a sign that the action that will occur will need to run 
as Administrator.

--
Bruce Cran

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Query about use of UAC shield on Install button

2011-03-24 Thread Pally Sandher
You can hide the shield icon on the install button if you so wish but a
per-machine package is still going to prompt Windows Installer to
request elevation once you click that button.

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-Original Message-
From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] 
Sent: 24 March 2011 13:26
To: Bruce Cran; General discussion for Windows InstallerXML toolset.
Subject: Re: [WiX-users] Query about use of UAC shield on Install button

Using the UAC shield is completely up to you not WIX.  Since WIX is just
the development environment, the job of following guidelines falls to
the user.  The WIX compiler can try to guide you down the right path,
but it should not force you to do any one thing.  The Button control XML
has an option called ElevationShield which needs to be enabled to show
the icon.

It is always best to enable this when you require elevated rights as
this is the key indicator to the user the install makes changes to
protected areas of the OS.

Mat Skildum


-Original Message-
From: Bruce Cran [mailto:br...@cran.org.uk]
Sent: Thursday, March 24, 2011 8:19 AM
To: General discussion for Windows Installer XML toolset.
Cc: Skildum, Mathew
Subject: Re: [WiX-users] Query about use of UAC shield on Install button

On Thu, 24 Mar 2011 13:07:30 +
Skildum, Mathew mathew.skil...@aspect.com wrote:

 This is actually a function of MSI not WIX.  WIX is just the mechanism

 to build the MSI where the rules are enforced.
 
 MSI does follow these guidelines as far as I know.  When you put the 
 UAC shield on a button that does not mean the elevation request will 
 happen right away.  MSI does this request in the execute sequence 
 before the any files are copied or deferred actions are run as this is

 the time when elevation is required.

But as I understand it, it's WiX that controls whether or not the button
has the shield icon: I'm wondering if it should use the shield icon on
the button at all if the elevation request doesn't happen straight away.
I'm tending towards yes, since it's a sign that the action that will
occur will need to run as Administrator.

--
Bruce Cran


--
Enable your software for Intel(R) Active Management Technology to meet
the growing manageability and security demands of your customers.
Businesses are taking advantage of Intel(R) vPro (TM) technology - will
your software be a part of the solution? Download the Intel(R)
Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Query about use of UAC shield on Install button

2011-03-24 Thread Bruce Cran
On Thu, 24 Mar 2011 13:26:05 +
Skildum, Mathew mathew.skil...@aspect.com wrote:

 Using the UAC shield is completely up to you not WIX.  Since WIX is
 just the development environment, the job of following guidelines
 falls to the user.  The WIX compiler can try to guide you down the
 right path, but it should not force you to do any one thing.  The
 Button control XML has an option called ElevationShield which needs
 to be enabled to show the icon.

It's not entirely up to the user since WiX ships with standard UIs such
as WiXUI_Minimal which provides buttons with the ElevationShield
property set.

-- 
Bruce Cran

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] DifxApp - Cannot create a stable subkey under a volatile parent key

2011-03-24 Thread Rob Hamflett
I'm seeing an occasional issue using DifxApp, which a log reports as:

DIFXAPP: INFO:   ENTER UpdateDriverForPlugAndPlayDevices...
DIFXAPP: ERROR:  RETURN UpdateDriverForPlugAndPlayDevices. (Error code 0x3FD: 
Cannot create a stable 
subkey under a volatile parent key.)
DIFXAPP: ERROR:  Installation failed. (Error code 0x3FD: Cannot create a stable 
subkey under a 
volatile parent key.)
DIFXAPP: ERROR:  PnP Install failed. (Error code 0x3FD: Cannot create a stable 
subkey under a 
volatile parent key.)

Running the installer again seems to be fine, so it's not a permanent problem.  
Has anyone seen this 
before?  The solutions I found online say to delete the registry key in 
question, which I don't 
really think is safe in this situation.

Thanks,
Rob


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Query about use of UAC shield on Install button

2011-03-24 Thread Skildum, Mathew
Just because WIX ships a set of UI dialogs does not mean you need to use them.

I do not use any of the WIX dialogs and have create my own.  This allows me to 
enable and modify the UI whenever I wish.

Due to this the choice is completely yours, if you use the standard dialogs you 
get what is there or you can modify these to meet your needs.

The choice is completely yours.

Mat Skildum
Aspect Software
direct: 630.227.8534
mobile: 847.909.9921
mathew.skil...@aspect.com


-Original Message-
From: Bruce Cran [mailto:br...@cran.org.uk] 
Sent: Thursday, March 24, 2011 8:40 AM
To: Skildum, Mathew
Cc: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Query about use of UAC shield on Install button

On Thu, 24 Mar 2011 13:26:05 +
Skildum, Mathew mathew.skil...@aspect.com wrote:

 Using the UAC shield is completely up to you not WIX.  Since WIX is 
 just the development environment, the job of following guidelines 
 falls to the user.  The WIX compiler can try to guide you down the 
 right path, but it should not force you to do any one thing.  The 
 Button control XML has an option called ElevationShield which needs 
 to be enabled to show the icon.

It's not entirely up to the user since WiX ships with standard UIs such as 
WiXUI_Minimal which provides buttons with the ElevationShield property set.

--
Bruce Cran

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Query about use of UAC shield on Install button

2011-03-24 Thread Bruce Cran
On Thu, 24 Mar 2011 13:43:38 +
Skildum, Mathew mathew.skil...@aspect.com wrote:

 Just because WIX ships a set of UI dialogs does not mean you need to
 use them.
 
 I do not use any of the WIX dialogs and have create my own.  This
 allows me to enable and modify the UI whenever I wish.
 
 Due to this the choice is completely yours, if you use the standard
 dialogs you get what is there or you can modify these to meet your
 needs.

Thanks. I intend to continue using WiXUI_Minimal since it completely
meets my needs: I was wondering about future applications that I write
in relation to the timing of the UAC prompt. Since Microsoft developers
work on WiX I guess it's not seen as a major fault if an application
doesn't elevate immediately after clicking a button with a shield icon.

-- 
Bruce Cran

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Urgent Please help: Could not open key: HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

2011-03-24 Thread kim
No suggestions? I am in real need to get this going. Kindly help

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Urgent-Please-help-Could-not-open-key-HKEY-CURRENT-USER-Software-Classes-MyAppAssembly-tp6201872p6204451.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Urgent Please help: Could not open key: HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

2011-03-24 Thread Bruce Cran
On Wed, 23 Mar 2011 13:51:55 -0700 (PDT)
kim contactme...@gmail.com wrote:

 I am confused as why the installer is trying to open this registry
 entry??
 
 I created 2 more installers using WIX 3.5 for Windows 7 and Windows
 Server 2008 but never found this problem. This is only with Windows
 XP SP3 box.
 
 Please suggest any solution to this problem.

You should get a log by running msiexec /l*vx msilog.txt /i name of
msi file .  That'll tell you what the installer is doing at each step.

-- 
Bruce Cran

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Desktop Shortcut to a Folder

2011-03-24 Thread scotts
Here is my solution to create shortcut to a folder.  Note that the Advertise
must be no.  Call explorer and pass it the directory to open.

  

  

  
  
  
  

   
 
   


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Desktop-Shortcut-to-a-Folder-tp4906239p6204513.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom Action Not Running In XP 32-Bit

2011-03-24 Thread Liam Flanagan
Hello,

 

I have a custom action function written in C that is called from a Wix MSI.
This custom action runs successfully on Windows 7 (32-bit  64-bit), Vista
(32-bit  64-bit) and Windows XP 64-bit however appears to simply not run on
Windows XP 32-bit.

 

The underlying issue here was that code within the dll for this custom
action (not specifically code called or accessed from the entry point into
the dll within the wix) referenced a call to the WinAPI RegDeleteKeyEx
function which is unsupported in XP 32-bit.

 

Now my question here is simply is there some way I could have been informed
about why this dll wasn't loading let alone running from the install?

 

For your information:

. As this was a custom action that failed to load the installer
continued happily without kicking up any fuss to the user

. I ran the msi with /l*vx and I couldn't find anything within the
log file that suggested the dll hadn't even been loaded, in fact you even
get a message in the log file stating that the InstallIME (the wix) action
ending with a return value of 1. See below an extract from the log for a
install where the custom action failed to load:

 

MSI (s) (2C:2C) [15:25:11:617]: Doing action: InstallIME

Action 15:25:11: InstallIME. 

Action start 15:25:11: InstallIME.

InstallIME: 

Action ended 15:25:11: InstallIME. Return value 1.

 

. Just to remind you the problematic code that used RegDeleteKeyEx
wasn't even called / referenced by InstallIME32 therefore it clearly just
didn't want to load the dll at all

 

In the end I managed to solve the issue through trial and error but I'm
convinced there must be a more pragmatic (and hopefully quicker) approach,
even if it is simply getting a warning that the custom action dll has not
loaded.

 

Thanks,

 

Liam

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] EN-IN language ID in WiX

2011-03-24 Thread Grzegorz Borczuch
Hallo everyone,

Recently, I was trying to find some information about how does WiX handle the 
issue with the new LCIDs introduced in Windows Vista. I mean for example 
en-IN locale with LCID as 0x4009.

I tried to build the MSI tables from WiX that contained India files. In that 
case the light.exe throws a validation error ICE03 which means I am using 
incorrect language id. Is this a matter of something in my .wxs file or 
.wixproj or I should change the WiX version? I am using the  3.5.1916.0 version.

When I was searching the internet about that problem I could not find many 
similar questions that could mean it is something rare. Is there anybody that 
could confirm that this is a known issue?

Thanks in advance,
Grzegorz Borczuch
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 1923 upgrading a service

2011-03-24 Thread David Watson
Do you have a ServiceControl element that stops the service on install?

ServiceControl Name=My Service Name Stop=Both Wait=Yes ... /



-Original Message-
From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com] 
Sent: 24 March 2011 10:33
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Error 1923 upgrading a service

Hi there

I'm having problems upgrading an existing service using my wix installer.
i'm getting the 1923 error (Verify that you have sufficient privileges to
install system services.).

This doesn't happen the *first* time I install the service, but when I try
to upgrade it.

I've searched around and tried a few different things, but nothing has
solved it so far.

My ServiceInstall looks like this :-

ServiceInstall Id=ServiceInstaller Type=ownProcess Vital=yes Name=My
Service Name DisplayName=My Display Name Description=My description
Start=auto Account=LocalSystem ErrorControl=ignore Interactive=no

I'm logged in as a local administrator. I've tried logging in direct on the
machine, not just from remote desktop. I've tried making sure the Name
attribute in the ServiceInstall tag matches the service name in the service
code.

If I uninstall the service and run my MSI, it works fine.

Any help would be greatly appreciated.

Thanks!
-
-
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 1923 upgrading a service

2011-03-24 Thread Matthew Dodkins
Yes, it looks like this :-

ServiceControl ID=StartService Name=My Service Name Start=Install
Stop=Both Remove=Uninstall Wait=Yes /

Thanks


On Thu, Mar 24, 2011 at 3:54 PM, David Watson dwat...@sdl.com wrote:

 Do you have a ServiceControl element that stops the service on install?

 ServiceControl Name=My Service Name Stop=Both Wait=Yes ... /



 -Original Message-
 From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
 Sent: 24 March 2011 10:33
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Error 1923 upgrading a service

 Hi there

 I'm having problems upgrading an existing service using my wix installer.
 i'm getting the 1923 error (Verify that you have sufficient privileges to
 install system services.).

 This doesn't happen the *first* time I install the service, but when I try
 to upgrade it.

 I've searched around and tried a few different things, but nothing has
 solved it so far.

 My ServiceInstall looks like this :-

 ServiceInstall Id=ServiceInstaller Type=ownProcess Vital=yes
 Name=My
 Service Name DisplayName=My Display Name Description=My description
 Start=auto Account=LocalSystem ErrorControl=ignore Interactive=no

 I'm logged in as a local administrator. I've tried logging in direct on the
 machine, not just from remote desktop. I've tried making sure the Name
 attribute in the ServiceInstall tag matches the service name in the service
 code.

 If I uninstall the service and run my MSI, it works fine.

 Any help would be greatly appreciated.

 Thanks!

 -
 -
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 SDL PLC confidential, all rights reserved.
 If you are not the intended recipient of this mail SDL requests and
 requires that you delete it without acting upon or copying any of its
 contents, and we further request that you advise us.
 SDL PLC is a public limited company registered in England and Wales.
  Registered number: 02675207.
 Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
 7DY, UK.



 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 1923 upgrading a service

2011-03-24 Thread Chad Petersen
Is this a major upgrade or a minor upgrade? Sounds like the uninstall of
the older version might not be removing the service. Verbose log file
might be helpful. You can also hit Cancel during an install to
effectively pause it (then hit Resume to continue) to look at the state
of the machine at certain discreet points along the way, like if the old
product gets removed but new files aren't being copied yet, this can be
a good point to pause the install and look in Services.msc to see the
current situation.

-Original Message-
From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com] 
Sent: Thursday, March 24, 2011 9:39 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 1923 upgrading a service

Yes, it looks like this :-

ServiceControl ID=StartService Name=My Service Name Start=Install
Stop=Both Remove=Uninstall Wait=Yes /

Thanks


On Thu, Mar 24, 2011 at 3:54 PM, David Watson dwat...@sdl.com wrote:

 Do you have a ServiceControl element that stops the service on
install?

 ServiceControl Name=My Service Name Stop=Both Wait=Yes ... /



 -Original Message-
 From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
 Sent: 24 March 2011 10:33
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Error 1923 upgrading a service

 Hi there

 I'm having problems upgrading an existing service using my wix
installer.
 i'm getting the 1923 error (Verify that you have sufficient
privileges to
 install system services.).

 This doesn't happen the *first* time I install the service, but when I
try
 to upgrade it.

 I've searched around and tried a few different things, but nothing has
 solved it so far.

 My ServiceInstall looks like this :-

 ServiceInstall Id=ServiceInstaller Type=ownProcess Vital=yes
 Name=My
 Service Name DisplayName=My Display Name Description=My
description
 Start=auto Account=LocalSystem ErrorControl=ignore
Interactive=no

 I'm logged in as a local administrator. I've tried logging in direct
on the
 machine, not just from remote desktop. I've tried making sure the Name
 attribute in the ServiceInstall tag matches the service name in the
service
 code.

 If I uninstall the service and run my MSI, it works fine.

 Any help would be greatly appreciated.

 Thanks!



-
 -
 Enable your software for Intel(R) Active Management Technology to meet
the
 growing manageability and security demands of your customers.
Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your
software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 SDL PLC confidential, all rights reserved.
 If you are not the intended recipient of this mail SDL requests and
 requires that you delete it without acting upon or copying any of its
 contents, and we further request that you advise us.
 SDL PLC is a public limited company registered in England and Wales.
  Registered number: 02675207.
 Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire
SL6
 7DY, UK.





--
 Enable your software for Intel(R) Active Management Technology to meet
the
 growing manageability and security demands of your customers.
Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your
software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Enable your software for Intel(R) Active Management Technology to meet
the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your
software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net

Re: [WiX-users] Error 1923 upgrading a service

2011-03-24 Thread Matthew Dodkins
When I use the word 'upgrade', I'm simply referring to running a new MSI
that is installing the same service (re-installing). Does it matter if I
haven't changed the version number?

The verbose log doesn't seem to give much more information, it fails with
1923 on the line after Executing op: Service install. I did search up
through the log from that point and didn't find any mention of an
uninstall... is there something I need to do explicitly to get the
installer to remove the previous version of the service first?

Thanks, I appreciate the help.

Matthew



On Thu, Mar 24, 2011 at 4:57 PM, Chad Petersen
chad.peter...@harlandfs.comwrote:

 Is this a major upgrade or a minor upgrade? Sounds like the uninstall of
 the older version might not be removing the service. Verbose log file
 might be helpful. You can also hit Cancel during an install to
 effectively pause it (then hit Resume to continue) to look at the state
 of the machine at certain discreet points along the way, like if the old
 product gets removed but new files aren't being copied yet, this can be
 a good point to pause the install and look in Services.msc to see the
 current situation.

 -Original Message-
 From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
 Sent: Thursday, March 24, 2011 9:39 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Error 1923 upgrading a service

 Yes, it looks like this :-

 ServiceControl ID=StartService Name=My Service Name Start=Install
 Stop=Both Remove=Uninstall Wait=Yes /

 Thanks


 On Thu, Mar 24, 2011 at 3:54 PM, David Watson dwat...@sdl.com wrote:

  Do you have a ServiceControl element that stops the service on
 install?
 
  ServiceControl Name=My Service Name Stop=Both Wait=Yes ... /
 
 
 
  -Original Message-
  From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
  Sent: 24 March 2011 10:33
  To: wix-users@lists.sourceforge.net
  Subject: [WiX-users] Error 1923 upgrading a service
 
  Hi there
 
  I'm having problems upgrading an existing service using my wix
 installer.
  i'm getting the 1923 error (Verify that you have sufficient
 privileges to
  install system services.).
 
  This doesn't happen the *first* time I install the service, but when I
 try
  to upgrade it.
 
  I've searched around and tried a few different things, but nothing has
  solved it so far.
 
  My ServiceInstall looks like this :-
 
  ServiceInstall Id=ServiceInstaller Type=ownProcess Vital=yes
  Name=My
  Service Name DisplayName=My Display Name Description=My
 description
  Start=auto Account=LocalSystem ErrorControl=ignore
 Interactive=no
 
  I'm logged in as a local administrator. I've tried logging in direct
 on the
  machine, not just from remote desktop. I've tried making sure the Name
  attribute in the ServiceInstall tag matches the service name in the
 service
  code.
 
  If I uninstall the service and run my MSI, it works fine.
 
  Any help would be greatly appreciated.
 
  Thanks!
 
 
 
 -
  -
  Enable your software for Intel(R) Active Management Technology to meet
 the
  growing manageability and security demands of your customers.
 Businesses
  are taking advantage of Intel(R) vPro (TM) technology - will your
 software
  be a part of the solution? Download the Intel(R) Manageability Checker
  today! http://p.sf.net/sfu/intel-dev2devmar
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
  SDL PLC confidential, all rights reserved.
  If you are not the intended recipient of this mail SDL requests and
  requires that you delete it without acting upon or copying any of its
  contents, and we further request that you advise us.
  SDL PLC is a public limited company registered in England and Wales.
   Registered number: 02675207.
  Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire
 SL6
  7DY, UK.
 
 
 
 
 
 --
  Enable your software for Intel(R) Active Management Technology to meet
 the
  growing manageability and security demands of your customers.
 Businesses
  are taking advantage of Intel(R) vPro (TM) technology - will your
 software
  be a part of the solution? Download the Intel(R) Manageability Checker
  today! http://p.sf.net/sfu/intel-dev2devmar
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 --
 Enable your software for Intel(R) Active Management Technology to meet
 the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your
 software
 be a part of the solution? Download the Intel(R) 

Re: [WiX-users] Error 1923 upgrading a service

2011-03-24 Thread Skildum, Mathew
You should set Remove=Both in your service control entry.

This will help in the cleanup and if any other service happens to share the 
same name, you remove it.

Mat Skildum
Aspect Software
direct: 630.227.8534
mobile: 847.909.9921
mathew.skil...@aspect.com


-Original Message-
From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com] 
Sent: Thursday, March 24, 2011 12:22 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 1923 upgrading a service

When I use the word 'upgrade', I'm simply referring to running a new MSI that 
is installing the same service (re-installing). Does it matter if I haven't 
changed the version number?

The verbose log doesn't seem to give much more information, it fails with
1923 on the line after Executing op: Service install. I did search up through 
the log from that point and didn't find any mention of an uninstall... is 
there something I need to do explicitly to get the installer to remove the 
previous version of the service first?

Thanks, I appreciate the help.

Matthew



On Thu, Mar 24, 2011 at 4:57 PM, Chad Petersen
chad.peter...@harlandfs.comwrote:

 Is this a major upgrade or a minor upgrade? Sounds like the uninstall 
 of the older version might not be removing the service. Verbose log 
 file might be helpful. You can also hit Cancel during an install to 
 effectively pause it (then hit Resume to continue) to look at the 
 state of the machine at certain discreet points along the way, like if 
 the old product gets removed but new files aren't being copied yet, 
 this can be a good point to pause the install and look in Services.msc 
 to see the current situation.

 -Original Message-
 From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
 Sent: Thursday, March 24, 2011 9:39 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Error 1923 upgrading a service

 Yes, it looks like this :-

 ServiceControl ID=StartService Name=My Service Name Start=Install
 Stop=Both Remove=Uninstall Wait=Yes /

 Thanks


 On Thu, Mar 24, 2011 at 3:54 PM, David Watson dwat...@sdl.com wrote:

  Do you have a ServiceControl element that stops the service on
 install?
 
  ServiceControl Name=My Service Name Stop=Both Wait=Yes ... /
 
 
 
  -Original Message-
  From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
  Sent: 24 March 2011 10:33
  To: wix-users@lists.sourceforge.net
  Subject: [WiX-users] Error 1923 upgrading a service
 
  Hi there
 
  I'm having problems upgrading an existing service using my wix
 installer.
  i'm getting the 1923 error (Verify that you have sufficient
 privileges to
  install system services.).
 
  This doesn't happen the *first* time I install the service, but when 
  I
 try
  to upgrade it.
 
  I've searched around and tried a few different things, but nothing 
  has solved it so far.
 
  My ServiceInstall looks like this :-
 
  ServiceInstall Id=ServiceInstaller Type=ownProcess Vital=yes
  Name=My
  Service Name DisplayName=My Display Name Description=My
 description
  Start=auto Account=LocalSystem ErrorControl=ignore
 Interactive=no
 
  I'm logged in as a local administrator. I've tried logging in direct
 on the
  machine, not just from remote desktop. I've tried making sure the 
  Name attribute in the ServiceInstall tag matches the service name in 
  the
 service
  code.
 
  If I uninstall the service and run my MSI, it works fine.
 
  Any help would be greatly appreciated.
 
  Thanks!
 
 
 --
 --
 -
  -
  Enable your software for Intel(R) Active Management Technology to 
  meet
 the
  growing manageability and security demands of your customers.
 Businesses
  are taking advantage of Intel(R) vPro (TM) technology - will your
 software
  be a part of the solution? Download the Intel(R) Manageability 
  Checker today! http://p.sf.net/sfu/intel-dev2devmar
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
  SDL PLC confidential, all rights reserved.
  If you are not the intended recipient of this mail SDL requests and 
  requires that you delete it without acting upon or copying any of 
  its contents, and we further request that you advise us.
  SDL PLC is a public limited company registered in England and Wales.
   Registered number: 02675207.
  Registered address: Globe House, Clivemont Road, Maidenhead, 
  Berkshire
 SL6
  7DY, UK.
 
 
 
 
 --
 --
 --
  Enable your software for Intel(R) Active Management Technology to 
  meet
 the
  growing manageability and security demands of your customers.
 Businesses
  are taking advantage of Intel(R) vPro (TM) technology - will your
 software
  be a part of the solution? Download the Intel(R) Manageability 
  Checker today! 

Re: [WiX-users] Error 1923 upgrading a service

2011-03-24 Thread David Watson
I would check that you are following a good upgrade strategy too, see
http://wix.sourceforge.net/manual-wix3/major_upgrade.htm

Dave

-Original Message-
From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] 
Sent: 24 March 2011 17:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 1923 upgrading a service

You should set Remove=Both in your service control entry.

This will help in the cleanup and if any other service happens to share the
same name, you remove it.

Mat Skildum
Aspect Software
direct: 630.227.8534
mobile: 847.909.9921
mathew.skil...@aspect.com


-Original Message-
From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com] 
Sent: Thursday, March 24, 2011 12:22 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Error 1923 upgrading a service

When I use the word 'upgrade', I'm simply referring to running a new MSI that
is installing the same service (re-installing). Does it matter if I haven't
changed the version number?

The verbose log doesn't seem to give much more information, it fails with
1923 on the line after Executing op: Service install. I did search up
through the log from that point and didn't find any mention of an
uninstall... is there something I need to do explicitly to get the
installer to remove the previous version of the service first?

Thanks, I appreciate the help.

Matthew



On Thu, Mar 24, 2011 at 4:57 PM, Chad Petersen
chad.peter...@harlandfs.comwrote:

 Is this a major upgrade or a minor upgrade? Sounds like the uninstall 
 of the older version might not be removing the service. Verbose log 
 file might be helpful. You can also hit Cancel during an install to 
 effectively pause it (then hit Resume to continue) to look at the 
 state of the machine at certain discreet points along the way, like if 
 the old product gets removed but new files aren't being copied yet, 
 this can be a good point to pause the install and look in Services.msc 
 to see the current situation.

 -Original Message-
 From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
 Sent: Thursday, March 24, 2011 9:39 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Error 1923 upgrading a service

 Yes, it looks like this :-

 ServiceControl ID=StartService Name=My Service Name Start=Install
 Stop=Both Remove=Uninstall Wait=Yes /

 Thanks


 On Thu, Mar 24, 2011 at 3:54 PM, David Watson dwat...@sdl.com wrote:

  Do you have a ServiceControl element that stops the service on
 install?
 
  ServiceControl Name=My Service Name Stop=Both Wait=Yes ... /
 
 
 
  -Original Message-
  From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
  Sent: 24 March 2011 10:33
  To: wix-users@lists.sourceforge.net
  Subject: [WiX-users] Error 1923 upgrading a service
 
  Hi there
 
  I'm having problems upgrading an existing service using my wix
 installer.
  i'm getting the 1923 error (Verify that you have sufficient
 privileges to
  install system services.).
 
  This doesn't happen the *first* time I install the service, but when 
  I
 try
  to upgrade it.
 
  I've searched around and tried a few different things, but nothing 
  has solved it so far.
 
  My ServiceInstall looks like this :-
 
  ServiceInstall Id=ServiceInstaller Type=ownProcess Vital=yes
  Name=My
  Service Name DisplayName=My Display Name Description=My
 description
  Start=auto Account=LocalSystem ErrorControl=ignore
 Interactive=no
 
  I'm logged in as a local administrator. I've tried logging in direct
 on the
  machine, not just from remote desktop. I've tried making sure the 
  Name attribute in the ServiceInstall tag matches the service name in 
  the
 service
  code.
 
  If I uninstall the service and run my MSI, it works fine.
 
  Any help would be greatly appreciated.
 
  Thanks!
 
 
 --
 --
 -
  -
  Enable your software for Intel(R) Active Management Technology to 
  meet
 the
  growing manageability and security demands of your customers.
 Businesses
  are taking advantage of Intel(R) vPro (TM) technology - will your
 software
  be a part of the solution? Download the Intel(R) Manageability 
  Checker today! http://p.sf.net/sfu/intel-dev2devmar
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
  SDL PLC confidential, all rights reserved.
  If you are not the intended recipient of this mail SDL requests and 
  requires that you delete it without acting upon or copying any of 
  its contents, and we further request that you advise us.
  SDL PLC is a public limited company registered in England and Wales.
   Registered number: 02675207.
  Registered address: Globe House, Clivemont Road, Maidenhead, 
  Berkshire
 SL6
  7DY, UK.
 
 
 
 
 --
 --
 

Re: [WiX-users] Error 1923 upgrading a service

2011-03-24 Thread Castro, Edwin G. (Hillsboro)
 -Original Message-
 From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]

 When I use the word 'upgrade', I'm simply referring to running a new MSI
 that is installing the same service (re-installing). Does it matter if I 
 haven't
 changed the version number?

Depends on what version number you mean. If you have a preexisting product 
installed with the same ProductCode (Product/@Id) and ProductVersion 
(Product/@Version) as the new product then you will run into problems if you 
don't author the package correctly. I would start out by reading the following:

Patching and Upgrades - http://msdn.microsoft.com/en-us/library/aa370579.aspx
Small Updates - http://msdn.microsoft.com/en-us/library/aa371855.aspx
Minor Upgrades - http://msdn.microsoft.com/en-us/library/aa370037.aspx
Major Upgrades - http://msdn.microsoft.com/en-us/library/aa369786.aspx

How To: Implement a Major Upgrade In Your Installer - 
http://wix.sourceforge.net/manual-wix3/major_upgrade.htm

Upgrading with Windows Installer is tricky because it has a lot of moving 
pieces but I don't think it is necessarily hard as long as you follow some 
reasonable best practices. The How To: Implement a Major Upgrade In Your 
Installer makes it easy to author major upgrades which is probably what you 
want to do since you haven't thought about this problem from a Windows 
Installer perspective yet. There are other resources online you can search for. 
Here are a few blog posts by Bob Arnson:

http://www.joyofsetup.com/2008/12/29/neither-more-nor-less/
http://www.joyofsetup.com/2008/12/30/paying-for-upgrades/
http://www.joyofsetup.com/2010/01/16/major-upgrades-now-easier-than-ever/

Edwin G. Castro
Software Developer - Staff
Digital Channels
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] version comparisons in burn

2011-03-24 Thread David Watson
Hi,
I am playing with burn again and I am trying to make a windows installer 3.1
package.

I am using a util:FileSearch on the msi.dll to see what version is installed
but I am struggling to work out what to put in my @DetectCondition.

If I try DetectCondition=MSIVersion gt; 3.1 Burn fails as the . is
unexpected. Is there some clever version comparison that I can do or even
some built in MSI version that can use?



Also is it possible to make a wixlib with packages in, I've not looked into
it our tried, It just occured to me it would be neat to have pre-built
prerequisite wixlibs.

Cheers
Dave W


Code if you are bothered...

Fragment Id=MSI31
util:FileSearch Path=[WindowsFolder]\System32\msi.dll Result=version
Variable=MSIVersion/
   
PackageGroup Id=MSI31
  ExePackage Id=MSI31 Cache=no Compressed=yes PerMachine=yes
Permanent=yes Vital=yes SourceFile=WindowsInstaller-KB893803-v2-x86.exe
  DetectCondition=MSIVersion gt; 3 /
/PackageGroup
  /Fragment


SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Get computer name??

2011-03-24 Thread kim
How can i populate a control with the name of the computer on which msi is
executed.

I used [ComputerName] and [COMPUTERNAME] property but its not working.

Please advice.

thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-computer-name-tp6205253p6205253.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 1923 upgrading a service

2011-03-24 Thread Matthew Dodkins
Thank you Mat, this has fixed my problem :)

Initially I thought it had not - for anyone with a similar problem, you need
to remove the service that wasn't installed with this 'Remove=both'
attribute manually first. Once this is done, any subsequent installs with an
MSI that is created with it can be made without the error.

Appreciate everyone's input, thanks.


On Thu, Mar 24, 2011 at 5:29 PM, Skildum, Mathew
mathew.skil...@aspect.comwrote:

 You should set Remove=Both in your service control entry.

 This will help in the cleanup and if any other service happens to share the
 same name, you remove it.

 Mat Skildum
 Aspect Software
 direct: 630.227.8534
 mobile: 847.909.9921
 mathew.skil...@aspect.com


 -Original Message-
 From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
 Sent: Thursday, March 24, 2011 12:22 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Error 1923 upgrading a service

 When I use the word 'upgrade', I'm simply referring to running a new MSI
 that is installing the same service (re-installing). Does it matter if I
 haven't changed the version number?

 The verbose log doesn't seem to give much more information, it fails with
 1923 on the line after Executing op: Service install. I did search up
 through the log from that point and didn't find any mention of an
 uninstall... is there something I need to do explicitly to get the
 installer to remove the previous version of the service first?

 Thanks, I appreciate the help.

 Matthew



 On Thu, Mar 24, 2011 at 4:57 PM, Chad Petersen
 chad.peter...@harlandfs.comwrote:

  Is this a major upgrade or a minor upgrade? Sounds like the uninstall
  of the older version might not be removing the service. Verbose log
  file might be helpful. You can also hit Cancel during an install to
  effectively pause it (then hit Resume to continue) to look at the
  state of the machine at certain discreet points along the way, like if
  the old product gets removed but new files aren't being copied yet,
  this can be a good point to pause the install and look in Services.msc
  to see the current situation.
 
  -Original Message-
  From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
  Sent: Thursday, March 24, 2011 9:39 AM
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Error 1923 upgrading a service
 
  Yes, it looks like this :-
 
  ServiceControl ID=StartService Name=My Service Name Start=Install
  Stop=Both Remove=Uninstall Wait=Yes /
 
  Thanks
 
 
  On Thu, Mar 24, 2011 at 3:54 PM, David Watson dwat...@sdl.com wrote:
 
   Do you have a ServiceControl element that stops the service on
  install?
  
   ServiceControl Name=My Service Name Stop=Both Wait=Yes ... /
  
  
  
   -Original Message-
   From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com]
   Sent: 24 March 2011 10:33
   To: wix-users@lists.sourceforge.net
   Subject: [WiX-users] Error 1923 upgrading a service
  
   Hi there
  
   I'm having problems upgrading an existing service using my wix
  installer.
   i'm getting the 1923 error (Verify that you have sufficient
  privileges to
   install system services.).
  
   This doesn't happen the *first* time I install the service, but when
   I
  try
   to upgrade it.
  
   I've searched around and tried a few different things, but nothing
   has solved it so far.
  
   My ServiceInstall looks like this :-
  
   ServiceInstall Id=ServiceInstaller Type=ownProcess Vital=yes
   Name=My
   Service Name DisplayName=My Display Name Description=My
  description
   Start=auto Account=LocalSystem ErrorControl=ignore
  Interactive=no
  
   I'm logged in as a local administrator. I've tried logging in direct
  on the
   machine, not just from remote desktop. I've tried making sure the
   Name attribute in the ServiceInstall tag matches the service name in
   the
  service
   code.
  
   If I uninstall the service and run my MSI, it works fine.
  
   Any help would be greatly appreciated.
  
   Thanks!
  
  
  --
  --
  -
   -
   Enable your software for Intel(R) Active Management Technology to
   meet
  the
   growing manageability and security demands of your customers.
  Businesses
   are taking advantage of Intel(R) vPro (TM) technology - will your
  software
   be a part of the solution? Download the Intel(R) Manageability
   Checker today! http://p.sf.net/sfu/intel-dev2devmar
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
   SDL PLC confidential, all rights reserved.
   If you are not the intended recipient of this mail SDL requests and
   requires that you delete it without acting upon or copying any of
   its contents, and we further request that you advise us.
   SDL PLC is a public limited company registered in England and Wales.

Re: [WiX-users] Get computer name??

2011-03-24 Thread David Watson
ComputerName should work on msi verions 4 and up.
http://msdn.microsoft.com/en-us/library/aa368009(VS.85).aspx



I use [LocalMachine] when creating local accounts...

-Original Message-
From: kim [mailto:contactme...@gmail.com] 
Sent: 24 March 2011 18:34
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Get computer name??

How can i populate a control with the name of the computer on which msi is
executed.

I used [ComputerName] and [COMPUTERNAME] property but its not working.

Please advice.

thanks

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-computer-na
me-tp6205253p6205253.html
Sent from the wix-users mailing list archive at Nabble.com.

-
-
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get computer name??

2011-03-24 Thread Chad Petersen
Actually, I've been using [ComputerName] since MSI 2.0. If you read
those requirements a bit closer it goes on to say...

Windows Installer on Windows Server 2003, Windows XP, and Windows 2000.

Which implies just about any version.

The 4.0, 4,5 and 5.0 are required if you are on the newer OSes from the
sound of it.

Minor point, but I thought it worth a mention.



-Original Message-
From: David Watson [mailto:dwat...@sdl.com] 
Sent: Thursday, March 24, 2011 11:45 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Get computer name??

ComputerName should work on msi verions 4 and up.
http://msdn.microsoft.com/en-us/library/aa368009(VS.85).aspx



I use [LocalMachine] when creating local accounts...

-Original Message-
From: kim [mailto:contactme...@gmail.com] 
Sent: 24 March 2011 18:34
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Get computer name??

How can i populate a control with the name of the computer on which msi
is
executed.

I used [ComputerName] and [COMPUTERNAME] property but its not working.

Please advice.

thanks

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-comput
er-na
me-tp6205253p6205253.html
Sent from the wix-users mailing list archive at Nabble.com.


-
-
Enable your software for Intel(R) Active Management Technology to meet
the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your
software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and
requires that you delete it without acting upon or copying any of its
contents, and we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire
SL6 7DY, UK.



--
Enable your software for Intel(R) Active Management Technology to meet
the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your
software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get computer name??

2011-03-24 Thread kim
[LocalMachine] is also not working for me

  



Please advice

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-computer-name-tp6205253p6205348.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get computer name??

2011-03-24 Thread Wilson, Phil
You might be inventing properties - I've no idea what LocalMachine might be, 
but it's not a standard Windows Installer property. 

The answer IS [ComputerName] as has been mentioned: 

http://msdn.microsoft.com/en-us/library/aa368009(v=VS.85).aspx 

so stick with that. Look, this thing is used in thousands of setups, it does 
really work, so please provide some context instead of giving up and trying 
something else. 


Phil Wilson 

-Original Message-
From: kim [mailto:contactme...@gmail.com] 
Sent: Thursday, March 24, 2011 12:14 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Get computer name??

[LocalMachine] is also not working for me

  



Please advice

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-computer-name-tp6205253p6205348.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get computer name??

2011-03-24 Thread Chad Petersen
X2

Even installs where I never use [ComputerName] the verbose log file
still lists the entry

Property(C): ComputerName = my computer name

Showing that this is always available for use in any install.

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Thursday, March 24, 2011 12:30 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Get computer name??

You might be inventing properties - I've no idea what LocalMachine might
be, but it's not a standard Windows Installer property. 

The answer IS [ComputerName] as has been mentioned: 

http://msdn.microsoft.com/en-us/library/aa368009(v=VS.85).aspx 

so stick with that. Look, this thing is used in thousands of setups, it
does really work, so please provide some context instead of giving up
and trying something else. 


Phil Wilson 

-Original Message-
From: kim [mailto:contactme...@gmail.com] 
Sent: Thursday, March 24, 2011 12:14 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Get computer name??

[LocalMachine] is also not working for me

  



Please advice

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-comput
er-name-tp6205253p6205348.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Enable your software for Intel(R) Active Management Technology to meet
the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your
software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or
attached files, is intended solely for the individual or entity to which
it is addressed. This e-mail is confidential and may well also be
legally privileged. If you have received it in error, you are on notice
of its status. Please notify the sender immediately by reply e-mail and
then delete this message from your system. Please do not copy it or use
it for any purposes, or disclose its contents to any other person. This
email comes from a division of the Invensys Group, owned by Invensys
plc, which is a company registered in England and Wales with its
registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW
(Registered number 166023). For a list of European legal entities within
the Invensys Group, please go to
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_i
d=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail
recept...@invensys.com. This e-mail and any attachments thereto may be
subject to the terms of any agreements between Invensys (and/or its
subsidiaries and affiliates) and the recipient (and/or its subsidiaries
and affiliates).




--
Enable your software for Intel(R) Active Management Technology to meet
the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your
software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get computer name??

2011-03-24 Thread kim
Following is code from my .wxs file:



Code from my custom UI dialog



When i execute msi, editMachineName control displays [ComputerName] instead
of my machine name.

Please let me know what am I doing wrong here. Thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-computer-name-tp6205253p6205447.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get computer name??

2011-03-24 Thread Skildum, Mathew
You have to use a custom action to do what you are trying to do.

For example:
CustomAction Id=SetMACHINENAME Property=MACHINENAME 
Value=[ComputerName] /

Mat Skildum


-Original Message-
From: kim [mailto:contactme...@gmail.com] 
Sent: Thursday, March 24, 2011 2:49 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Get computer name??

Following is code from my .wxs file:



Code from my custom UI dialog



When i execute msi, editMachineName control displays [ComputerName] instead of 
my machine name.

Please let me know what am I doing wrong here. Thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-computer-name-tp6205253p6205447.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the 
growing manageability and security demands of your customers. Businesses are 
taking advantage of Intel(R) vPro (TM) technology - will your software be a 
part of the solution? Download the Intel(R) Manageability Checker today! 
http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get computer name??

2011-03-24 Thread Wilson, Phil
Your wxs didn't show up. However, the [] property substitution works only in 
fields that have a formatted type as defined in MSDN Control Table docs, so 
maybe your edit field isn't type formatted.  

Phil Wilson 


-Original Message-
From: kim [mailto:contactme...@gmail.com] 
Sent: Thursday, March 24, 2011 12:49 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Get computer name??

Following is code from my .wxs file:



Code from my custom UI dialog



When i execute msi, editMachineName control displays [ComputerName] instead
of my machine name.

Please let me know what am I doing wrong here. Thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-computer-name-tp6205253p6205447.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get computer name??

2011-03-24 Thread Chad Petersen
Or you could publish the property just before entering your custom
dialog, like in the preceding dialog.

Publish Property=MACHINENAME Value=[ComputerName]1/Publish

-Original Message-
From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] 
Sent: Thursday, March 24, 2011 12:59 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Get computer name??

You have to use a custom action to do what you are trying to do.

For example:
CustomAction Id=SetMACHINENAME Property=MACHINENAME
Value=[ComputerName] /

Mat Skildum


-Original Message-
From: kim [mailto:contactme...@gmail.com] 
Sent: Thursday, March 24, 2011 2:49 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Get computer name??

Following is code from my .wxs file:



Code from my custom UI dialog



When i execute msi, editMachineName control displays [ComputerName]
instead of my machine name.

Please let me know what am I doing wrong here. Thanks

--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-comput
er-name-tp6205253p6205447.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Enable your software for Intel(R) Active Management Technology to meet
the growing manageability and security demands of your customers.
Businesses are taking advantage of Intel(R) vPro (TM) technology - will
your software be a part of the solution? Download the Intel(R)
Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Enable your software for Intel(R) Active Management Technology to meet
the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your
software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get computer name??

2011-03-24 Thread kim
Mat, tried your suggestion, but I am getting blank value in control

My code:







Thanks for all you help

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-computer-name-tp6205253p6205517.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Get computer name??

2011-03-24 Thread kim
Thank you very much Mat. My code is working now following your suggestions.

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Get-computer-name-tp6205253p6205570.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] EN-IN language ID in WiX

2011-03-24 Thread Tobias S
Hi,

Assume this won't work as the LCID and locale en-IN doesn't exist in
WiX. Try hi-IN and 0x0439  Hindi (India)  instead. An overview of the
LCIDs and WiX Culture names you can see in my post
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/LCIDs-of-the-supported-languages-of-WixUIExtension-td5910168.html#a5913708
.

BTW: Where  do you use the hex representation of the LCID ? Normally
for localization only the decimal representation of the LCID + WiX
culture name is needed.

For a sample wxl file check out e.g. http://wix.mindcapers.com/wiki/Localization

Regards
Tobias



2011/3/24 Grzegorz Borczuch t-gr...@microsoft.com:
 Hallo everyone,

 Recently, I was trying to find some information about how does WiX handle the 
 issue with the new LCIDs introduced in Windows Vista. I mean for example 
 en-IN locale with LCID as 0x4009.

 I tried to build the MSI tables from WiX that contained India files. In that 
 case the light.exe throws a validation error ICE03 which means I am using 
 incorrect language id. Is this a matter of something in my .wxs file or 
 .wixproj or I should change the WiX version? I am using the  3.5.1916.0 
 version.

 When I was searching the internet about that problem I could not find many 
 similar questions that could mean it is something rare. Is there anybody that 
 could confirm that this is a known issue?

 Thanks in advance,
 Grzegorz Borczuch
 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] EN-IN language ID in WiX

2011-03-24 Thread Tobias S
Regarding the localization of hi-in. This localization contains the
english strings which is confirmed to be a bug (comp.
http://sourceforge.net/tracker/index.php?func=detailaid=3163411group_id=105970atid=642714)
Think an older (or also newer) version of the WiX toolset has a
correct version of the translation for hi-In. (Didn't re-check it)

As this language is from minor importance I didn't follow the issue...



2011/3/24 Tobias S tobias.s1...@gmail.com:
 Hi,

 Assume this won't work as the LCID and locale en-IN doesn't exist in
 WiX. Try hi-IN and 0x0439  Hindi (India)  instead. An overview of the
 LCIDs and WiX Culture names you can see in my post
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/LCIDs-of-the-supported-languages-of-WixUIExtension-td5910168.html#a5913708
 .

 BTW: Where  do you use the hex representation of the LCID ? Normally
 for localization only the decimal representation of the LCID + WiX
 culture name is needed.

 For a sample wxl file check out e.g. 
 http://wix.mindcapers.com/wiki/Localization

 Regards
 Tobias



 2011/3/24 Grzegorz Borczuch t-gr...@microsoft.com:
 Hallo everyone,

 Recently, I was trying to find some information about how does WiX handle 
 the issue with the new LCIDs introduced in Windows Vista. I mean for example 
 en-IN locale with LCID as 0x4009.

 I tried to build the MSI tables from WiX that contained India files. In that 
 case the light.exe throws a validation error ICE03 which means I am using 
 incorrect language id. Is this a matter of something in my .wxs file or 
 .wixproj or I should change the WiX version? I am using the  3.5.1916.0 
 version.

 When I was searching the internet about that problem I could not find many 
 similar questions that could mean it is something rare. Is there anybody 
 that could confirm that this is a known issue?

 Thanks in advance,
 Grzegorz Borczuch
 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] DifxApp - Cannot create a stable subkey under a volatile parent key

2011-03-24 Thread Tobias S
Hi Rob,

Just some thoughts to it (even I never had the issue). Maybe they help:
On http://errordecoder.com/system-error-codes/3/code-1021.html I found
some points which could be from interest:
* Device Driver Conflicts
* Hardware Malfunction

Is it only one system where it occurs ? Hardware issues only with one
hardware device or with several ones?

Stupid but happened once to me: An internal NW Interface had some not
correct inserted memory which caused driver installation to fail in
not reproducible manner. As I didn't check I spent some days on that
issue...

Regards
Tobias



2011/3/24 Rob Hamflett r...@snsys.com:
 I'm seeing an occasional issue using DifxApp, which a log reports as:

 DIFXAPP: INFO:   ENTER UpdateDriverForPlugAndPlayDevices...
 DIFXAPP: ERROR:  RETURN UpdateDriverForPlugAndPlayDevices. (Error code 0x3FD: 
 Cannot create a stable
 subkey under a volatile parent key.)
 DIFXAPP: ERROR:  Installation failed. (Error code 0x3FD: Cannot create a 
 stable subkey under a
 volatile parent key.)
 DIFXAPP: ERROR:  PnP Install failed. (Error code 0x3FD: Cannot create a 
 stable subkey under a
 volatile parent key.)

 Running the installer again seems to be fine, so it's not a permanent 
 problem.  Has anyone seen this
 before?  The solutions I found online say to delete the registry key in 
 question, which I don't
 really think is safe in this situation.

 Thanks,
 Rob


 --
 Enable your software for Intel(R) Active Management Technology to meet the
 growing manageability and security demands of your customers. Businesses
 are taking advantage of Intel(R) vPro (TM) technology - will your software
 be a part of the solution? Download the Intel(R) Manageability Checker
 today! http://p.sf.net/sfu/intel-dev2devmar
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Check if database exists and display message

2011-03-24 Thread kim
How can i check if a SQL Server database exists and display an error message
if it does and stop installation process

I am using WIX 3.5

Please advice. Thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Check-if-database-exists-and-display-message-tp6205888p6205888.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Check if database exists and display message

2011-03-24 Thread Michael Osmond
There is currently no built in facility that I know of for this.  You would 
need to build a custom action.

-Original Message-
From: kim [mailto:contactme...@gmail.com] 
Sent: Friday, 25 March 2011 8:26 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Check if database exists and display message

How can i check if a SQL Server database exists and display an error message
if it does and stop installation process

I am using WIX 3.5

Please advice. Thanks

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Check-if-database-exists-and-display-message-tp6205888p6205888.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Check if database exists and display message

2011-03-24 Thread kim
Thanks. I had a doubt about that.

So I can set a property in custom action if a database exists or not and
based on its value display error message?

Do I need to use condition statement to trigger message?

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Check-if-database-exists-and-display-message-tp6205888p6205933.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Check if database exists and display message

2011-03-24 Thread Michael Osmond
Not sure, have not done it myself.  It really depends on how you want to detect 
the error and have the user respond to it.



-Original Message-
From: kim [mailto:contactme...@gmail.com] 
Sent: Friday, 25 March 2011 8:39 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Check if database exists and display message

Thanks. I had a doubt about that.

So I can set a property in custom action if a database exists or not and
based on its value display error message?

Do I need to use condition statement to trigger message?

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Check-if-database-exists-and-display-message-tp6205888p6205933.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Running SQLScript element as System instead of logged in User

2011-03-24 Thread Syama Rajendraprasad
Hi

I am trying to run a SQLScript as part of my msi and I want it to run as SYSTEM 
and not the logged in User.

When I install my msi, I see that the Script is run under the logged in user. 
How to force the script to be run under LocalSystem?

Here is my code:

Component Id=cm_abc.sql Guid=$(GUID) Win64=yes
SqlScript Id='abc_123.sql' SqlDb='ABCDatabase' 
RollbackOnInstall='yes' Sequence='20' 
Binary Id='ABCSql' src='abc.sql' /
/SqlScript
/Component

Thanks
Syama
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] copying one folder including sub folders to another

2011-03-24 Thread Sean Farrow
Hi:
Is there a custom action in Wix to copy one folder to another, and remove the 
folder on uninstallation. I need to do this only if a feature is selected.
I remember there was something in the community extensions, but carn't remember 
whether this allowed feature selection to be taken in to account.
Any help appreciated.
Regards
Sean.
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] deploying reports to ssrs using Wix

2011-03-24 Thread Sean Farrow
Hi:
Is there any way using wix to deploy reports to a report server using the Wix 
sql extension.
I could use rs.exe, but would rather use the web services if possible.
Any help appreciated.
Regards
Sean.
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Running SQLScript element as System instead of logged in User

2011-03-24 Thread Syama Rajendraprasad
Hi

The SQLScripts are run when executing ExecuteSQLStrings Custom Action. I would 
like to know if there is any way of overriding this CustomAction to run as No 
Impersonate.

Thanks
Syama

From: Syama Rajendraprasad
Sent: Friday, March 25, 2011 10:33 AM
To: wix-users@lists.sourceforge.net
Cc: Madhan S; Nutesh Garg
Subject: Running SQLScript element as System instead of logged in User

Hi

I am trying to run a SQLScript as part of my msi and I want it to run as SYSTEM 
and not the logged in User.

When I install my msi, I see that the Script is run under the logged in user. 
How to force the script to be run under LocalSystem?

Here is my code:

Component Id=cm_abc.sql Guid=$(GUID) Win64=yes
SqlScript Id='abc_123.sql' SqlDb='ABCDatabase' 
RollbackOnInstall='yes' Sequence='20' 
Binary Id='ABCSql' src='abc.sql' /
/SqlScript
/Component

Thanks
Syama
--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users