Re: [WiX-users] How to make the custom action run under LocalSystem account?

2010-08-31 Thread Elfe Xu
Yes! After I set ALLUSERS=1, it runs as local system and delete the remote folder. When the system account go through network, it is using the computer account (MachineName$). And my folder is granting permission to MachineName$. Thanks, -Elfe -- View this message in context:

[WiX-users] powershell is faling at Add-PSSnapin Microsoft.SharePoint.PowerShell is failing.

2010-08-31 Thread MYFLEX
Hi all, Please try to understand the problem and give some solution. I am executing the powershell exe as vbscript CA as follows. Function f1() MsgBox(exe started) Set objShell = CreateObject(Wscript.Shell) vPSscrIpt = powershell.exe -NoExit c:\yyy\aa.ps1 objShell.Run vPSscrIpt End Function

[WiX-users] Comparison of PatchWiz and WiX v3 Patch Build

2010-08-31 Thread Tobi Ha
Hello WiX users, Since I have just read this article http://blogs.msdn.com/b/heaths/archive/2010/08/24/comparison-of-patchwiz-and-wix-v3-patch-build.aspx and I need to create patches I have the question if they is any disadvantage of using the WiX patching System (with Pyro) in comparison to

Re: [WiX-users] Newbie x64 msi question

2010-08-31 Thread David Watson
Hi, I have recently made a 64 bit MSI from a single source and I started out by following http://blogs.msdn.com/b/astebner/archive/2007/08/09/4317654.aspx The trick to make it easy is the -arch command (or setting the processor type in votive), but you also need to do a few other things. I

Re: [WiX-users] How to set Manufacturer, Name and Title using Heat

2010-08-31 Thread Peter Shirtcliffe
Wix elements are in the wix namespace. Add xmlns:wix=http://schemas.microsoft.com/wix/2006/wi; and then wix: prefixes to your wix elements. -Original Message- From: Satyaprakash J [mailto:sat...@smartek21.com] Sent: 30 August 2010 10:35 To: General discussion for Windows Installer XML

Re: [WiX-users] Help me for using 'Heat' to generate script (.wxs file) from CAB files directly? Thanks in advance!

2010-08-31 Thread Peter Shirtcliffe
It's not supported directly. You'll need to either extract the files first or write a heat extension. -Original Message- From: Xu, Jun [mailto:jun...@ebay.com] Sent: 30 August 2010 11:44 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Help me for using 'Heat' to generate script

[WiX-users] How to change an entry using XmlConfig

2010-08-31 Thread Alexander op de Weegh
Hi all, I am not an expert on Xml, let alone XPath, so I am running into this problem. With my application the following NHibernate.config file is used: ?xml version=1.0 encoding=utf-8 ? hibernate-configuration xmlns=urn:nhibernate-configuration-2.2 session-factory property

Re: [WiX-users] Preprocessor Extension question

2010-08-31 Thread Nick Ramirez
There's a static method called Preprocessor.GetSourceLineNumbers that accepts an XmlNode object. It's used by WiX as Candle is looking through your markup. I'm not sure that you'll be able to use it very easily. If you don't mind my asking, what is it you're trying to achieve? Preprocessor

Re: [WiX-users] Call Custom Action before Install Initialize

2010-08-31 Thread Nick Ramirez
So, this is a sort of validation to make sure the database type they've selected is truly installed? In that case, you could call your custom action when the user clicks the Next button on your dialog. You can do that by adding a Publish element inside the button control, setting its Event

Re: [WiX-users] Bootstrapping and Burn

2010-08-31 Thread Goryuk, Alex
Have you guys tried using NSIS http://nsis.sourceforge.net/Main_Page ? On Aug 30, 2010, at 11:36 AM, Christopher Painter wrote: I've looked at dotNetInstaller and while it looks very interesting, there is no way you are going to learn that tool and get a working bootstrapper in 15

Re: [WiX-users] Bootstrapping and Burn

2010-08-31 Thread Bruce Cran
On Tue, 31 Aug 2010 06:22:56 -0700 (PDT) Christopher Painter chr...@deploymentengineering.com wrote: NSIS?  Sorry, I'd rather go to the dentist. You *really* don't like it, do you? :) I don't understand why not; I consider it better than InstallShield for example where you end up having to

[WiX-users] Problem loading solution after upgrading from Wix 3.0 to 3.5.2020

2010-08-31 Thread Valentijn Makkenze
One or more projects in the solution where not loaded correctly. Please see the Output Window for details. C:\Projects\GVR\Src Versie 6.1\GVR\Setups\GVR\GVR.wixproj : error : Error HRESULT E_FAIL has been returned from a call to a COM component. After a manual reload Loading

Re: [WiX-users] powershell is faling at Add-PSSnapin Microsoft.SharePoint.PowerShell is failing.

2010-08-31 Thread John Vottero
First, if the execution policy doesn't already allow the execution of scripts, your Set-ExecutionPolicy will never be executed. You can't execute a script to allow the execution of scripts. Are you running into a 32/64 bit issue? The Microsoft.SharePoint.PowerShell snap-in is only registered

Re: [WiX-users] Bootstrapping and Burn

2010-08-31 Thread Bruce Cran
On Tue, 31 Aug 2010 09:10:20 -0400 Goryuk, Alex agor...@rosettastone.com wrote: Have you guys tried using NSIS http://nsis.sourceforge.net/Main_Page ? I've used NSIS in the past, but I have a set of existing MSI files that I just want to package up into a single exe along with the Visual C++

Re: [WiX-users] Bootstrapping and Burn

2010-08-31 Thread Christopher Painter
I don't want to hijack the list but your understanding of IntallScript is outdated by nearly a half decade.   InstallShield hasn't required you to bootstrap the InstallScript engine for about 5 releases now.  Also you don't even have to use InstallScript with Basic MSI projects and I don't.   I

Re: [WiX-users] Bootstrapping and Burn

2010-08-31 Thread Christopher Painter
For the same reason why you'd use MSI standard actions and WiXExtensions over writing your own CA's.   Just as they have a data model and have been well tested, so do InstallShield setup prerequisites. Basically InstallShield's setup.exe already provides me with things like: self extracting

Re: [WiX-users] Bootstrapping and Burn

2010-08-31 Thread Goryuk, Alex
Thank you for the feedback, really appreciate it. After talking to InstallShield tech support, we were told features we were looking for aren't supported and there's no guarantee they'd implement them anytime soon. Also, we decided to move away from InstallShield because of

Re: [WiX-users] Newbie x64 msi question

2010-08-31 Thread Alex Ivanoff
Do component GUIDs have to be different? -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: Tuesday, August 31, 2010 03:54 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Newbie x64 msi question Hi, I have recently made a 64 bit MSI from a single source

Re: [WiX-users] How to make the custom action run under LocalSystem account?

2010-08-31 Thread Wilson, Phil
If you're in an environment where the system account presents machine credentials to the network that'll often work, and if you know that's always the case everywhere you install then that'll be fine. Phil Wilson -Original Message- From: Elfe Xu [mailto:elf...@microsoft.com] Sent:

Re: [WiX-users] How to change an entry using XmlConfig

2010-08-31 Thread Chad Petersen
In your Value= line you will need to escape the square brackets. XMLConfig mentions this in the Value Attribute Description column. Opening bracket - [\[] Closing bracket - [\]] -Original Message- From: Alexander op de Weegh [mailto:alexan...@ipa-tp.nl] Sent: Tuesday, August 31, 2010

[WiX-users] heat.exe does not export COM information for a .NET component dll

2010-08-31 Thread Lian Jiang
Hi, I am using WIX 3.0 to export the COM registry setting from a managed component dll but I only get a file without the COM information. I can use regasm to registery this dll. I use the same heat.exe to export another .net component dll successfully. The only difference of these two dlls

[WiX-users] Default Install Drive to be Largest Free Space Drive of Physical Disk

2010-08-31 Thread Prabhat_IE
Hello, By defaul in wix (I am using 3.5) the drive letter is selected to the largest available in PC (may be a USB). How can I make sure my installer will do the same (defaul to largest free space drive) but on my physica disk. Please advise. Thanks, Prabhat -- View this message in context:

Re: [WiX-users] Default Install Drive to be Largest Free Space Drive of Physical Disk

2010-08-31 Thread Chad Petersen
That is handled by the ROOTDRIVE property. Not sure you can avoid USB drives, though. http://msdn.microsoft.com/en-us/library/aa371372(VS.85).aspx -Original Message- From: Prabhat_IE [mailto:prabhat.n...@gmail.com] Sent: Tuesday, August 31, 2010 2:00 PM To:

Re: [WiX-users] heat.exe does not export COM information for a .NET component dll

2010-08-31 Thread Sohail Somani
On 10-08-31 3:25 PM, Lian Jiang wrote: Hi, I am using WIX 3.0 to export the COM registry setting from a managed component dll but I only get a file without the COM information. I can use regasm to registery this dll. I use the same heat.exe to export another .net component dll

[WiX-users] IIsExtension Catch-22

2010-08-31 Thread Maillet, Ed
Hey all, I've got a MSI that installs a virtual directory using the iis:WebVirtualDir element to an existing web site. Install works great. However, if someone manually deletes the web site, the MSI won't uninstall because it can't find stuff. The errors from the log are below:

[WiX-users] Paraffin 3.5 - Now with better Minor Update Support

2010-08-31 Thread John Robbins
Hello my fellow WiXers! It's time for another update to my Paraffin tool which makes managing your fragments easier. With 3.5 I've implemented the trick outline by Vagmi Mudumbai (http://geekswithblogs.net/Vagmi.Mudumbai/archive/2006/06/11/81426.aspx) of allowing minor upgrades (AKA patches)

Re: [WiX-users] Bootstrapping and Burn

2010-08-31 Thread dB .
That's unfair to dotNetInstaller at least. NSIS doesn't quote qualify as a bootstrapper in my book despite several nice tutorials about how to use it as such. NSIS bundles bootstrapper responsibilities together with the installer responsibilities and falls short with anything beyond the

[WiX-users] Context menu handler registration on 64 bit

2010-08-31 Thread Michel
This has probably been asked before (but I can't find a good way to search this list?): I've created my wix installer (with a bit of help from heat on the COM dll) which installs a simple shell folder context menu extension. It all works great on x86, but on x64 the context menu items don't

Re: [WiX-users] Default Install Drive to be Largest Free Space Drive of Physical Disk

2010-08-31 Thread Prabhat_IE
By default WiX will choose the largest free space available drive (including USB). But I need to eliminate USB. Is that possible or any one has implemented that? Thanks, Prabhat -- View this message in context: