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

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

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

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

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

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

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 an

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

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

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=detail&aid=3163411&group_id=105970&atid=642714) Think an older (or also newer) version of the WiX toolset has a correct version of

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

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.

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

2011-03-24 Thread Skildum, Mathew
You have to run the action before the UI Sequence it started or from one the previous dialogs. For example in the UI Sequence: Not Installed Mat Skildum Aspect Software direct: 630.227.8534 mobile: 847.909.9921 mathew.skil...@aspect.com -Original Message- From: kim [mailto:con

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

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. 1 -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??

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

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

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

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

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

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

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 fr

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

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 ca

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

[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 > 3.1" Burn fails as the

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 v

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 tools

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

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

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 cer

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

2011-03-24 Thread Matthew Dodkins
Yes, it looks like this :- Thanks On Thu, Mar 24, 2011 at 3:54 PM, David Watson wrote: > Do you have a ServiceControl element that stops the service on install? > > > > > > -Original Message- > From: Matthew Dodkins [mailto:matthew.dodk...@gmail.com] > Sent: 24 March 2011 10:33 > To

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

[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

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

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 m

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

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 mai

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

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 the

[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: Installatio

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

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

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 opt

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

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 reque

[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. I

[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

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. adds the required RemoveFile table entry. The registry value just provides a keypath for the 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 adv

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: [Wi