Re: [WiX-users] Information about PrintEula.dll

2008-07-30 Thread Brian Rogers
Hey Stefan, On the WixUIPrintEula topic, take a look at the follow link. The main lines you should look at are 22 and 354 - 383. It actually doesn't look for the handle on the MSI window. Rather, it reads from the rtf from the control's text. http://wix.cvs.sourceforge.net/wix/wix/src/ext/UIExten

Re: [WiX-users] Font not correct when uninstall from control panel

2008-07-30 Thread yixie
I've tried to set "", but seems it won't affect. yixie wrote: > > http://www.nabble.com/file/p18088307/UninstallFont.jpg > > Hi, > > My msi behave werid when uninstall from control panel. > The font for the remained time is inclined, while other product does not. > > Anybody know which fon

[WiX-users] Font not correct when uninstall from control panel

2008-07-30 Thread yixie
http://www.nabble.com/file/p18088307/UninstallFont.jpg Hi, My msi behave werid when uninstall from control panel. The font for the remained time is inclined, while other product does not. Anybody know which font is used by this dialog? Thanks! -- View this message in context: http://www.nab

[WiX-users] Non-admin user can add remove feature, no UAC dialog

2008-07-30 Thread yixie
Hi, I found my installer don't require elevation if "change" or "repair". Although tt'll require elevation and UAC dialog popup if "install from not installed state", or "remove". I tried it, and found in this way, non-admin user can add/remove feature without being asked for admin credential.

[WiX-users] Custom error based on the reslult of a custom action

2008-07-30 Thread Anidil
Hello there Is there a way i can pop up a custom error message if a custom action that runs an exe installed as part of the application fails? I read about type 19 CAs but that just aborts the installation throwing an error message.. Any help on this? -- View this message in context: http://w

[WiX-users] UAC + devenv setup

2008-07-30 Thread John-Daniel Trask
Hi, We have built a Visual Studio package that we are integrating using WIX. I've run into issues however as we need to run as an administrator. I applied the required changes to make this work (elevated install privilages, the custom action that calls devenv /setup was set to before finali

Re: [WiX-users] Registry question.

2008-07-30 Thread Alexander Shevchuk
Something like this: PROP1 NOT PROP1 AND PROP2 NOT PROP1 AND NOT PROP2 Because AppSearch does not guarantee the order of search execution you need to search for both regkeys. If you think you absolutely must look for an alternative key only if first regkey does not exi

[WiX-users] Registry question.

2008-07-30 Thread Kiran Nallabothula
Hello, In my installer i want to check if a regkey exists if so assign the value to a property and if the first regkey doesnt exist i need to verify an alternate second regkey and assign the value to the property. I currently i use the following snippet to search the registry to get the value f

Re: [WiX-users] Torch error 0048

2008-07-30 Thread Tony Juricic
With just -bf and -xo as additional linker options Votive creates this command line: C:\Program Files\Windows Installer XML v3\bin\Light.exe -loc CustomWixUI_en-us.wxl -out C:\path\Product.msi -pdbout C:\path\Product.wixpdb -bf -xo obj\Debug\BrowseDlg.wixobj ... dialog and other wixobjs ...

Re: [WiX-users] Installing assembly to GAC returns Error: 1935, HRESULT: 0x80131043 ocassionally

2008-07-30 Thread Wilson, Phil
The error is "modules which were not in the manifest are being streamed in". I'm thinking that you have something else in the install with the same component guid. Phil Wilson -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harshal Pachpande Sent: Wed

Re: [WiX-users] Installing assembly to GAC returns Error: 1935, HRESULT: 0x80131043 ocassionally

2008-07-30 Thread Harshal Pachpande
Its back. Attaching files.. please help. add.cs - library add.snk - key csc /target:library /keyfile:add.snk add.cs adder.cs - console app making use of GACed add.dll csc /r:add.dll adder.cs GACTest.wxs - wix source candle GACTest.wxs light GAC

Re: [WiX-users] Information about PrintEula.dll

2008-07-30 Thread Stefan Webb
Thanks, this should sort me out. On Thu, Jul 31, 2008 at 12:48 AM, Neil Enns <[EMAIL PROTECTED]> wrote: > Stefan, > > We had the same problem and resolved it by simply downloading the source to > WiX and then building the printeula project inside of it. Then we included > the printeula.dll in our

Re: [WiX-users] Installing assembly to GAC returns Error: 1935, HRESULT: 0x80131043 ocassionally

2008-07-30 Thread Harshal Pachpande
deep regrets for sending incomplete message. I think setting Compressed="no" for package might help. I havent got any failure yet, tried twice. If I see this again I will notify. Any comments/suggestions is greatly appreciated. On Wed, Jul 30, 2008 at 2:58 PM, Harshal Pachpande < [EMAIL PROTECTED]

[WiX-users] Installing assembly to GAC returns Error: 1935, HRESULT: 0x80131043 ocassionally

2008-07-30 Thread Harshal Pachpande
Hello WIXers, I know this issue has been floating around, I would like few pointers to help diagnose the error. http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg03238.html mentions that hash of each module (/stream?) is checked against that of file and for some reason if there is a mi

Re: [WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread Chad Petersen
We don't use one executable for two services, but do run into issues with Services during the install. What I generally do is leave the install with the error on the screen and then switch away and see what is going on. First check is to see if the service was installed in control Panel. If so, the

Re: [WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread MarkZune
That was my initial thought as well. Unfortunately that doesn't seem to work. As you said, it compiles fine, but I get an error that the service wasn't installed correctly when running the install. Christopher Karper wrote: > > InstallUtil is a DLL that uses the installer classes compiled into

Re: [WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread Christopher Karper
InstallUtil is a DLL that uses the installer classes compiled into your managed service. So, none of the service deployment information is going to be in the file generated by dark. You will have to look up the ServiceInstall element, and enter the same information you have in the self installer.

Re: [WiX-users] Missing reference ConfigureSql ?

2008-07-30 Thread Dana Gutride
Can you search all of your wxs files for configuresql and see if you are referencing it somewhere? Maybe in a before or after tag? Also, have you replaced the wixlibs with the new ones from the latest WiX 2.0 build? Dana On Tue, Jul 29, 2008 at 1:08 PM, Gregory Swanson <[EMAIL PROTECTED]>wrote:

Re: [WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread MarkZune
>Other installers won't use the same CustomAction to install the service. I >know the ones emitted by the VS deployments use InstallUtil to self >register. You'll need to kind of "translate" the decompiled .wxs into Wix >speak. "Translating" was what I was hoping to do, but I'm new to WIX (and

Re: [WiX-users] books for Wix and Application packaging

2008-07-30 Thread Joel Peterson
Sadly, it's unlikely any exist. We haven't done a very good job of bugging Phil Wilson into doing one. ;) I've bound a few resources into book form that I always reference: http://www.tramontana.co.hu/wix/ http://blogs.msdn.com/windows_installer_team/archive/2006/05/01/587990.a spx (Make sure you

Re: [WiX-users] ServiceInstall account problem

2008-07-30 Thread Wilson, Phil
1) What's your exact error? There are some differences between them. Are you getting 1920 or 1921? 2) I don't remember if you answered this before, but if the installation does not roll back, does the service start successfully after the install? 3) Is it C# or managed C++ ? 4) Your service re

Re: [WiX-users] WiX-users Digest, Vol 26, Issue 157

2008-07-30 Thread Dane Anderson (Volt)
OK. That's what I needed to know. Thank you. It might be nice for that little piece of information to get into the wix docs for the VBScriptCall attribute. It would have saved me 2 days of hunting for ANY other documentation about it. Message: 2 Date: Wed, 30 Jul 2008 09:54:05 -0700 From: Alexand

Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

2008-07-30 Thread Chad Petersen
Ryan is correct. The CustomActionData is the Value from the CustomAction. We pass parameters to many of our functions. In this example it is Jscript, but no huge difference between that and VBScript other than you use VBScriptCall. Note the Value has the comma delimiters. This is in turn used in th

[WiX-users] Torch error 0048

2008-07-30 Thread Tony Juricic
Giving command: "%WIX%bin\torch.exe" -xi rtm\Product.wixpdb upd1\Product.wixpdb -out Patch\Diff.Wixmst I get the following error: error TRCH0048 : The document element name 'wixOutput' is invalid. A WiX pdb file must use 'wixPdb' as the document element name. Clearly torch doesn't like somethin

Re: [WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread Christopher Karper
Other installers won't use the same CustomAction to install the service. I know the ones emitted by the VS deployments use InstallUtil to self register. You'll need to kind of "translate" the decompiled .wxs into Wix speak. And I wouldn't see why you'd need two different files for the deploymen

Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

2008-07-30 Thread Ryan O'Neill
Check down the page (look for 'parameters' or 'CustomActionData'). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dane Anderson (Volt) Sent: 30 July 2008 17:36 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX-users Digest, Vol 26, Issue 15

Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

2008-07-30 Thread Alexander Shevchuk
Dane, MSI does not support passing parameters to custom actions (not even C++ custom actions). Options here may include using properties or using custom tables. So, the answer to your question is - yes, you need to have wrapper functions which will extract parameters from the storage of your

Re: [WiX-users] WiX-users Digest, Vol 26, Issue 155 Message: 5

2008-07-30 Thread Dane Anderson (Volt)
[EMAIL PROTECTED] wrote > Message: 5 > Date: Wed, 30 Jul 2008 14:13:11 +0100 > From: "Ryan O'Neill" <[EMAIL PROTECTED]> > Subject: Re: [WiX-users] Passing parameters to a VB Script function > Via the VBScriptCall attribute > To: "'General discussion for Windows Installer XML toolset.'" >

Re: [WiX-users] Failure using WiX installer certificates with WCF

2008-07-30 Thread Jason
You could use InstallRite or InstallWatch to capture a before and after image of both installations. On Tue, Jul 29, 2008 at 8:12 AM, Ryan O'Neill <[EMAIL PROTECTED]> wrote: > OK, so I owe you money then :) > > Any way of doing some kind of sysdiff to see what WiX is not doing > correctly? > > --

Re: [WiX-users] VS 2005 problem with Wix 3.0.4311.0 version

2008-07-30 Thread MarkZune
I have the same/similar problem. It's odd in that it was working fine on my machine (and then for other reasons) when I had to reimage it and now it's not working. When I just have a WIX project in the solution I cannot see the project, but if I add another project such as a console app I can se

[WiX-users] Installing multiple windows services with single exe

2008-07-30 Thread MarkZune
I'm creating a WIX setup for a .net c# solution that has a project which creates a single EXE for two services and would like to know if it's possible to install the services using this single EXE through WIX. I have an MSI that was already created for this solution so I decompiled it using dark

Re: [WiX-users] Information about PrintEula.dll

2008-07-30 Thread Neil Enns
Stefan, We had the same problem and resolved it by simply downloading the source to WiX and then building the printeula project inside of it. Then we included the printeula.dll in our installer. Neil From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Stefan

Re: [WiX-users] Patching SQL Database with script

2008-07-30 Thread Eric Latendresse
Could you give a little more information? Would these new scripts need to be included in a separate component other than my SQL Database component? In my installer I am creating a new database and running a script CreateTable.sql on the install. This works. For the patch I changed the CreateTable.s

[WiX-users] Determining the port number of the default IIS website

2008-07-30 Thread José Diaz Seng
Hi, I would like a setup created using WiX to be able to find out the port of the default IIS website. We need this to ensure an install succeeds even if the port is different from the standard "80" and want to spare the user performing the installation having to determine and type in the port n

Re: [WiX-users] Error Creating Patch

2008-07-30 Thread Eric Latendresse
I found the problem. The paths in the Patch.wxs to the two .msi's were incorrect. Eric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Monday, July 28, 2008 10:50 PM To: General discussion for Windows Installer XML toolset. Subject:

Re: [WiX-users] CloseApplication

2008-07-30 Thread John Lister
Cheers I'll give that a go. > John Lister wrote: >> I can use CloseApplication to set a property and use this to alter the >> UI >> sequence asking the user if they want IE to be restarted. But i'm unsure >> how >> to actually use it to close IE. I'm guessing it is through the use of a >> cus

Re: [WiX-users] ServiceInstall account problem

2008-07-30 Thread Daniel Rieck
Thanks, but that can't be the problem. My service only references Framework assemblies (mscorlib, System, System.Drawing and System.ServiceProcess). *Von:* "cemiles" <[EMAIL PROTECTED]> *Gesendet:* 29.07.08 17:45:38 *An:* wix-users@lists.sourceforge.net *Betreff:* Re: [WiX-users] ServiceInstall

Re: [WiX-users] Passing parameters to a VB Script function Via the VBScriptCall attribute

2008-07-30 Thread Ryan O'Neill
Alex has a good write-up on this here http://blogs.technet.com/alexshev/archive/2008/07/01/from-msi-to-wix-part-19 -the-art-of-custom-action-part-1.aspx -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dane Anderson (Volt) Sent: 30 July 2008 13:08 To: wix-

[WiX-users] Passing parameters to a VB Script function Via the VBScriptCall attribute

2008-07-30 Thread Dane Anderson (Volt)
OK, yes, I know that using VBScript for custom actions is not recommended. However I have no choice in the matter. This is how my boss wants it done. That said, I need to pass some parameters to the function being called, and I can't find any (documented) way to do it. I've found (via google) LO

Re: [WiX-users] Information about PrintEula.dll

2008-07-30 Thread Abubakar
hi, if you download the source code for wix, than inside \src\ca\wixca\dll you will find a file called PrintEula.cpp which contiains the code for this printing functionality. So you can see everything being done there. ..ab On Wed, Jul 30, 2008 at 12:58 PM, Stefan Webb <[EMAIL PROTECTED]> wrote

Re: [WiX-users] Trying to define virtual dir based on property value

2008-07-30 Thread José Diaz Seng
Hi Rob, thanks for your helpful hint and your quick response. I took some time to read your very informative 7 part series. The statement "Directories are properties." was the key for solving my problem. Cheers, José > Not quite using the Directory table correctly. You might work backwards > fr

[WiX-users] Information about PrintEula.dll

2008-07-30 Thread Stefan Webb
I am trying to customize my dialogs in Wix 3.0.4318. I have extracted the standard dialogs from the source and compiled a modified version of them with my project. If I include WixUIExtension.dll then it is not possible to customize the FilesInUse dialog, as pointed out in an earlier thread. Howeve

[WiX-users] adding current date time to folder name

2008-07-30 Thread Abubakar
Hi, I write the following tags for my folder: Now in the name "[EMAIL PROTECTED]" I want to append the date and time to this folder name when the installation was taking place. How do I do that? Regards, ..ab --