[WiX-users] creating msi package for Group Policy

2006-08-02 Thread Standa Kunc
Hello, I would like to create msi package (executable, shortcuts, file association) and use it with Group Policy in MS Windows Server 2003. Both server and client (MS Windows 2000) are running under Virtual PC (this should not be problem). I just can not do it properly. Could someone provide me e

[WiX-users] Custom Action and Comboboxes/Listboxes

2006-08-02 Thread Stephen Kou
Hi all,   I’m really new to WiX, and I can’t seem to find documentation on how to change the items of a combobox from a custom action.  Does anyonw know how to do this?   Thanks, Stephen - Take Surveys. Earn

Re: [WiX-users] 2 License in 1 ScrollableText Control

2006-08-02 Thread Chesong Lee
It's wasn't so simple to replace ScrollableText control text. A simple property replacement does not work. I have made a EULA replacement custom action DLL to read EULA from the text file. The routine was like: 1. MsiGetActiveDatabase 2. MsiDatabaseOpenView with SQL selecting the whole row cont

[WiX-users] 2 License in 1 ScrollableText Control

2006-08-02 Thread Magus
yes another one of my many questions sorry, but hopefully someone else out there might run into the same problem and just be able to look it up. Ok I have 2 license agreements, the thing is I need both license to be in 1 list. Now I already though of just moving the text from one to the other, b

[WiX-users] creating msi package for Group Policy

2006-08-02 Thread Standa Kunc
Hello, I would like to create msi package (executable, shortcuts, file association) and use it with Group Policy in MS Windows Server 2003. Both server and client (MS Windows 2000) are running under Virtual PC (this should not be problem). I just can not do it properly. Could someone provide me e

[WiX-users] Custom Action with a call to DirectXSetupGetEULA

2006-08-02 Thread Magus
Well the last question and got an answer too solve about 90 percent of my problem. The other problem I am having with this same dll is my call to DirectXSetupGetEULA If this function is in my dll, the install doesn't even run. I have a message box that is suppose to pop up at the beginning of my

Re: [WiX-users] Custom Action Dll problem

2006-08-02 Thread Magus
Ok I got it working now thanks again for your help -- View this message in context: http://www.nabble.com/Custom-Action-Dll-problem-tf2042392.html#a5623375 Sent from the wix-users forum at Nabble.com. - Take Surveys. Earn

Re: [WiX-users] Custom Action Dll problem

2006-08-02 Thread Magus
WcaGetProperty() isn't being used anywhere else this is the only call. What I need to do is combine My license with DX License, but if I leave in the code for getting the DXEULA the entire program doesn't even run weird. I tried with both allocation of memory and tried to see if maybe the fuction

[WiX-users] Shortcut tag does not create a shortcut always

2006-08-02 Thread Calin Iaru
Hi List,         If I use then everything goes fine. I would like to create a shortcut called Command Shell to point to the installation directory. For some reason, this code fails and there are no log entries referring to it.  

Re: [WiX-users] Custom Action Dll problem

2006-08-02 Thread Rob Mensching
You're probably crashing. The Windows Installer has an exception handler to ensure that poorly written CustomActions don't hose the transaction. You should look at other places in the code where WcaGetProperty() is used. You'll find the WiX code has very, very few hard code buffer sizes. Instead,

Re: [WiX-users] Shortcut tag does not create a shortcut always

2006-08-02 Thread Calin Iaru
Never mind,       I found the problem. The Target attribute must be a pointer to a property such as Target=”[SOMECMD]”. The property is the actual command.I remember trying it before, but for some reason, it failed …   Best regards,     Calin       From: [EMAIL

Re: [WiX-users] Turning off all sub-features

2006-08-02 Thread Derek Cicerone
Be wary of level 0 for features - you can get into scenarios where it's difficult to bring the features back to life :) Derek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Beaudet Sent: Wednesday, August 02, 2006 2:01 PM To: wix-users@lists.source

[WiX-users] Custom Action Dll problem

2006-08-02 Thread Magus
Not that my other problem has a solution yet, but I've move on to try to get something done. I am no having a problem trying to use the WcaGetProperty function. I have a property [License] I call the function using WCHAR l_wcLicense[2]; HRESULT hResult = WcaGetProperty(L"EULA", l_wcLicense);

Re: [WiX-users] Turning off all sub-features

2006-08-02 Thread Brian Beaudet
Got it! A value of 1 works for me because all of my subfeatures are set to 2. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Beaudet Sent: Wednesday, August 02, 2006 4:43 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] T

Re: [WiX-users] Turning off all sub-features

2006-08-02 Thread Brian Beaudet
I'll look a little more closely in that direction. I initially set the subfeatures level to Level = 0 and that just kept them from displaying. Brian -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 4:41 PM To: Brian Beaudet; wix-users@

Re: [WiX-users] Turning off all sub-features

2006-08-02 Thread Rob Mensching
Take a look at the Level attribute on the Feature element (and how it pertains to the Feature table). From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Beaudet Sent: Wednesday, August 02, 2006 1:39 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Turning off all sub-

[WiX-users] Turning off all sub-features

2006-08-02 Thread Brian Beaudet
I've got an installer I'm working on where the main feature is required.  All of the subfeatures are not required however.  Since I'm still new at this, I'm trying to actually set the subfeatures so they do not install by default.  I want the user to select which ones to install.   What comb

Re: [WiX-users] Add/Remove Program Icon on Windows 2000

2006-08-02 Thread Francis Kam
I remember this same issue coming up in one of my projects. I couldn't find the defect at a glance through our database, but I seem to remember it having to do with the extension. I believe you can't use the .ico extension (either that or you have to use the .ico extension). Something weird like th

Re: [WiX-users] Create Specific Directory

2006-08-02 Thread Magus
-- View this message in context: http://www.nabble.com/Create-Specific-Directory-tf2040848.html#a5619392 Sent from the wix-users forum at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.

[WiX-users] Custom Action Dialog

2006-08-02 Thread Magus
Im trying to use a custom action type 1, to create a dialog box from c++ code. I keep getting the error 1813 and the dialog box of course doesn't appear. I need a dialog that I can have use a timer to close after a specified amount of time. Its functionality works outside of MSI, in a standard

Re: [WiX-users] rfc: Package element changes

2006-08-02 Thread Derek Cicerone
Unfortunately, people treat our qtests as examples (especially given that they are categorized under the examples directory). I agree for things that are purely examples we should use the PUT-GUID-HERE thing. It’s the qtests I don't know what to do with (I really wish people wouldn't look at them

Re: [WiX-users] rfc: Package element changes

2006-08-02 Thread Rob Mensching
All examples should use "PUT-GUID-HERE". You get a nice error message from the compiler and it's pretty self explanatory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Derek Cicerone Sent: Wednesday, August 02, 2006 8:57 AM To: 'Bob Arnson' Cc: 'DEÁK J

Re: [WiX-users] rfc: Package element changes

2006-08-02 Thread Rob Mensching
Strange is good in this case... auto-gen of GUIDs is a dangerous thing. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Farrell Sent: Tuesday, August 01, 2006 5:46 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] rfc: Package element changes It's not a big d

Re: [WiX-users] Another question about MSM

2006-08-02 Thread Chesong Lee
You may have to check if your custom action function has a correct function prototype: extern "C" __declspec(dllexport) UINT __stdcall MyCa(MSIHANDLE hInstall); 1. extern "C" is required if your source code is C++. 2. __declspec(dllexport) is required if you do not have separate DLL definition

Re: [WiX-users] Another question about MSM

2006-08-02 Thread Derek Cicerone
What does your custom action do? You should avoid writing your own custom actions whenever possible because it is difficult to write one which properly handles all install/repair/uninstall scenarios. Derek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

[WiX-users] Another question about MSM

2006-08-02 Thread Peter G. Sakhno
Hello. I have authored a custom action inside MSM and scheduled it, like that: In log I found that this action was performed. " MSI (s) (F4:50) [20:26:39:359]: Doing action: MyCA.17DD507A_FE19_4C9D_9291_C4239315792A MSI (s) (F4:50) [20:26:39:359]: Note: 1: 2205 2: 3: ActionText Action

[WiX-users] Create Specific Directory

2006-08-02 Thread Brian Beaudet
Forgive my newbiness... how do I create a directory using the element that points to a specific location on the user's machine?  For instance, "C:\NewPath"?  Or do I need a tag that does so?   Thanks,   Brian - Take Su

Re: [WiX-users] rfc: Package element changes

2006-08-02 Thread Derek Cicerone
Hmm, that's a very good point. I'm just trying to address Rob's concern that a developer wouldn't understand what it means to generate the guid. Honestly, I'd be more worried about them copying a setup with a guid and failing to modify it (thus introducing collisions for users). It almost argu

Re: [WiX-users] rfc: Package element changes

2006-08-02 Thread Bob Arnson
Derek Cicerone wrote: > I've done some more thinking about this. I think Rob's main objection with > making Product/@Id optional was that someone might accidentally forget to > specify it. However, what if we displayed a warning to the user whenever > they omitted the Property/@Id attribute infor

Re: [WiX-users] rfc: Package element changes

2006-08-02 Thread Derek Cicerone
I've done some more thinking about this. I think Rob's main objection with making Product/@Id optional was that someone might accidentally forget to specify it. However, what if we displayed a warning to the user whenever they omitted the Property/@Id attribute informing them that doing so is non

Re: [WiX-users] Questions about merge modules

2006-08-02 Thread Vitaly Dolya
Peter G. Sakhno wrote: 1) MSM is copied to the MSI when MSI references MSM. And I want to leave MSM out side of the main MSI. How to do it?   You cann't. A merge module cannot be installed alone because its lacks some vital database tables that are present in an installation database. Mer

[WiX-users] Questions about merge modules

2006-08-02 Thread Peter G. Sakhno
Hello. 1) MSM is copied to the MSI when MSI references MSM. And I want to leave MSM out side of the main MSI. How to do it? 2) I want to author a custom action in MSM. Can I use InstallExecuteSequence inside MSM to schedule the CA, since I did not find ModuleInstallExecuteSequence in WiX schem

[WiX-users] Pregunte como mejorar su imagen.

2006-08-02 Thread IART
Title: Documento sin título Diseño Publicitario Atrás quedo la vieja idea de comunicación que afirmaba que tan solo existía un emisor-mensaje-receptor. Ahora, las nuevas tecnologías permiten acceder a la lógica de la interactividad en la cual no somos tan

Re: [WiX-users] rfc: Package element changes

2006-08-02 Thread Derek Cicerone
That's correct - we generate the entire guid every time. Derek -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of DEÁK JAHN, Gábor Sent: Wednesday, August 02, 2006 1:14 AM To: WiX-users Subject: [WiX-users] rfc: Package element changes On Tue, 1 Aug 2006 16

[WiX-users] WebVirtualDir question

2006-08-02 Thread Nordvik, Christer
Hi.   I’ve got a WiX script that installs a webservice to IIS and it works great. The problem occurs when the user specifies a different directory than the standard one (like :\MyWebservice\v2.0.0_test). Where :\MyWebservice\v2.0.0 is the standard one   The IIS lists the webservice but

[WiX-users] rfc: Package element changes

2006-08-02 Thread DE�K JAHN, G�bor
On Tue, 1 Aug 2006 16:44:39 -0400, Dave Williamson wrote: Dave, > I assume that "12345678----??5??" makes up all > the GUID parts except for 12345678 and 5. Somebody correct me if I'm wrong but as far as I know GUIDs are always created complete. There is no such thing as par

Re: [WiX-users] custom action to write a reg value

2006-08-02 Thread Rob Hamflett
Could you not run the installer using CreateProcess(), and then wait for it with something like WaitForSingleObject()? This way you know when the installer finished. Rob Chesong Lee wrote: > How does your bootstrapper interact with MSI engine? > > > > If your bootstrapper calls MsiInstallP