[WiX-users] Installing an extended stored procedure into SQLserver

2010-06-24 Thread Patrick van der Velde
Hi All I'm porting one of our old installers from the VS setup projects into WiX. So far everything has been going very well. The WiX source files are much easier to deal with than the VS projects and our installer is now 45Mb smaller than it used to be. Unfortunately there is one task that I'm s

[WiX-users] Weird behavior of Checkbox control and SetProperty

2010-06-24 Thread Elfe Xu
Hi, Hope you are not getting tired with my name, since I've posted so many questions these days :P This time is about a strange behavior when I use Checkbox and the SetProperty control. On the UI, I have [] Use proxy: Address: __ Port: ([] is checkbox, and is Edit) In my dialo

Re: [WiX-users] Dependency on Sql Server

2010-06-24 Thread Michael Osmond
Hi Another angle, to determine the location of an instance, connect to the instance and use the SERVERPROPERTY('MachineName') and compare to your local name. You may need to be careful where the instance is running on a cluster. Michael -Original Message- From: Blair [mailto:os...@l

Re: [WiX-users] Merge modules for Visual C++ 2010 Express?

2010-06-24 Thread Blair
I haven't installed VC Express, but the location for them in VS 2010 is "C:\Program Files (x86)\Common Files\Merge Modules" (or "C:\Program Files\Common Files\Merge Modules" if your box is 32-bit) but they are an option for the paid versions of VS (I don't know if they are in the defaults or not

[WiX-users] Merge modules for Visual C++ 2010 Express?

2010-06-24 Thread Engel Sanchez
Hello. I have in the past used Wix to install the visual C++ redistributable compmonents as per the instructions here: http://wix.sourceforge.net/manual-wix3/install_vcredist.htm After installing Visual Studio Express 2010 I can't find the merge modules to do the same. Is there a new preferred

Re: [WiX-users] No OpenFileDialog or something like that?

2010-06-24 Thread Blair
In your custom action, create and start a new thread and then wait on it. In that new thread, initialize COM for STA mode (or just initialize OLE, which will do that for you) and then call the OpenFileDialog class. After you copy your file path out of the class, let that thread end, which will rele

Re: [WiX-users] Dependency on Sql Server

2010-06-24 Thread Blair
Just looking at it from a naïve point-of-view, and seeing what is on my own computer (I have two instances of SQLServer installed/running, one 2005 the other 2008), this is what I see: If the dependency were local, it appears that the service name is MSSQL$. Local means that the \ instance-identif

Re: [WiX-users] No OpenFileDialog or something like that?

2010-06-24 Thread Elfe Xu
@Johannes Thanks for the link to wixwiki. But these samples are too simple and do not show the complex usage for me to refer :( I tried to write a custom action to use OpenFileDialog class. However, the CA gets exceptions "Current thread must be set to single thread apartment (STA) mode before OL

Re: [WiX-users] WiX-users Digest, Vol 49, Issue 116

2010-06-24 Thread Blair
Remove the tag and instead "Publish" a "DoAction" event from the Done/Finish/Close button on your finished dialog. -Original Message- From: Thomas Due [mailto:t...@scanvaegt.dk] Sent: Thursday, June 24, 2010 6:36 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX-users D

Re: [WiX-users] Files are not copied if custom actions are defined

2010-06-24 Thread Blair
Are you also noticing an error from the custom action preventing your installation from succeeding? The files are not actually installed until the script runs, so your custom actions will need to actually attempt to attach/detach as "deferred", not "immediate". Also, ALL actions that have side

Re: [WiX-users] Share Folder

2010-06-24 Thread Chad Petersen
Take a look at the FileShare element. I've used it with no problems for a long time. Thanks Chad -Original Message- From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] Sent: Thursday, June 24, 2010 11:31 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Share Fol

[WiX-users] Share Folder

2010-06-24 Thread Carolina Zuqueto Amaral
Hi, How Do I create a share folder? Thanks, Carolina Zuqueto. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize li

Re: [WiX-users] Dependency on Sql Server

2010-06-24 Thread dB .
We have the same problem, would love a solution. Did you try creating two components with services, one with a dependency and another without? Then condition them based on, say, SQLSERVER_IS_LOCAL. Try setting and not setting the property and see if that works. Once it does, you can start tryin

Re: [WiX-users] What can cause WcaInitialize to fail?

2010-06-24 Thread Tim Krehl
Yes it is being called in DllMain switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: ::WcaGlobalInitialize(hModule); break; case DLL_PROCESS_DETACH: ::WcaGlobalFinalize(); break; } Thanks, Tim On Wed, Jun 23, 2010 at 9:58 PM, Rob Mensching wrote: > Did you call WcaGlobalInitialize() in

Re: [WiX-users] Using New Lines in Text Fields for Custom WiX Extension Doesn't Work

2010-06-24 Thread jnewton
Thanks Rob, that worked great. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Using-New-Lines-in-Text-Fields-for-Custom-WiX-Extension-Doesn-t-Work-tp5214598p5217423.html Sent from the wix-users mailing list archive at Nabble.com. -

Re: [WiX-users] No OpenFileDialog or something like that?

2010-06-24 Thread MikeR
There is no file browsing UI/capability built into Windows Installer. You will need a custom action to display a file browse dialog. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/No-OpenFileDialog-or-something-like-that-tp5216565p5217401.html Sen

Re: [WiX-users] WiX-users Digest, Vol 49, Issue 116

2010-06-24 Thread Thomas Due
Hello, I have two quick questions: First, I need to run an application when the installer is closed. Currently it runs when the finished dialog is shown: NOT Installed   But how do I make it run when the finished dialog is CLOSED? Second, how do I e

Re: [WiX-users] How to delete the extracted MSI after install

2010-06-24 Thread dB .
You should definitely not cleanup the MSI from within the MSI. You might be in the beginning of wanting a lot more features from your bootstrapper. Take a look at http://dotnetinstaller.codeplex.com. For your purposes it extracts your MSIs to a temporary location and cleans up after itself. dB

[WiX-users] Heat -> Wrong project documentation output

2010-06-24 Thread Gernot Kerger
Hi, I'm trying to generate a project's Documentation output with the following line: heat project "MyProject.csproj" -cg MyProjectDocuments -pog:Documents -gg -nologo -sfrag -out MyProjectDocuments.wxs Is it normal to get a $(var.MyProject.ProjectDir)\bin\Debug\MyProject.XML source file

[WiX-users] Files are not copied if custom actions are defined

2010-06-24 Thread Pavel Oleinikov
Hi people! I have a strange trouble with WiX (I am a novice only...). There are two components in my installer - Windows Service & Database. Also there are two custom actions. If custom actions are defined, files are not copied at all, target folder does not exist and custom action "AttachDb", tha

[WiX-users] Antw: No OpenFileDialog or something like that?

2010-06-24 Thread Johannes Hetzer
Hi Elfe, did you checked http://www.wixwiki.com/index.php?title=Main_Page#Samples.21 ? These samples are usefull but you may have to adjust them because they don't work 100% with the latest WiX 3.5 KR >>> Elfe Xu 24.06.2010 09:34 >>> Hi, During my product setup, I need to let user to spec

[WiX-users] No OpenFileDialog or something like that?

2010-06-24 Thread Elfe Xu
Hi, During my product setup, I need to let user to specify the path of a certificate file on his local driver. I searched for something like the OpenFileDialog in Wix/WI for a while, but could not find things for this purpose. The DirectoryCombo and DirectoryList seems only for folders, but ca