Re: [WiX-users] Shortcut Targets and Shared Components

2007-10-22 Thread Rob Mensching
1. This is the way the Windows Installer works for advertised shortcuts. 2. Don't mark the shortcut advertised and it should get installed whenever it's Component is installed. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, October 19, 2007 14:1

Re: [WiX-users] Files not compressed aren't staged correctly

2007-10-22 Thread Rob Mensching
Depending on the compression attributes you set and the source paths you use in your directory tree the files will move around. All of the options are not particularly intuitive but the files are being placed where the Windows Installer expects them. Play with the compression and source pices

Re: [WiX-users] For a commerical install - Wix 3.0 Vs Wix 2.0

2007-10-22 Thread Rob Mensching
Of course, Peter is biased since he's never really used WiX v2 and doesn't like fixing bugs there (not that we fix them any more since v2 is now nearly completely locked down). Note that WiX v3 will continue to go through bumps and bugs for the next year or so (my guesstimate). WiX v2 really

Re: [WiX-users] Admin install + saving variables

2007-10-22 Thread Rob Mensching
Did you try marking the Properties you want saved into the admin image as "Admin='yes'"? Doing that adds the Property (even if you don't provide a value) to the AdminProperties Property as described in the MSI SDK that seems like it does what you want. -Original Message- From: [EMAIL P

Re: [WiX-users] custom action executing managed executables

2007-10-22 Thread Rob Mensching
Beyond what the other people suggested, I think the QtExec CA already does what you suggested with the executable data. However, you really shouldn't use an executable. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Doubrovkine Sent: Monday, October 22, 2007 14:30 To: w

Re: [WiX-users] Cannot install VC80 Runtime from VS2005 SP1 on Vista and Vista only

2007-10-22 Thread Adam Majer
Jeff Bean wrote: > > > Adam Majer-2 wrote: >> Installing the runtime from VS2005 SP1 using the merge module (yes, >> correct version) does NOT work on Vista while it works *perfectly* on >> 2003 server - both clean installs of the respective OS. Both OSes need >> the runtime installed for the pro

Re: [WiX-users] Cannot install VC80 Runtime from VS2005 SP1 on Vista and Vista only

2007-10-22 Thread Jeff Bean
Adam Majer-2 wrote: > > Installing the runtime from VS2005 SP1 using the merge module (yes, > correct version) does NOT work on Vista while it works *perfectly* on > 2003 server - both clean installs of the respective OS. Both OSes need > the runtime installed for the program to run. > > The i

[WiX-users] A better TALLOW - PARAFFIN

2007-10-22 Thread John Robbins
Hello, As you all know, Tallow for WiX 2.0 can be a bit, how shall we say it, troublesome. :) I developed a better tool, PARAFFIN, which creates an easier to use WiX fragment and also handles updating the WiX fragment as files are added and removed from your directories. It's turned the hours and

Re: [WiX-users] Files not compressed aren't staged correctly

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, "Chad Petersen" <[EMAIL PROTECTED]> writes: > I just changed two of my installers to not compress any files. It builds > fine. The MSI itself is at the top most level. However, with one of the > two MSIs almost all of the files are also at the topmost level ra

[WiX-users] Files not compressed aren't staged correctly

2007-10-22 Thread Chad Petersen
I just changed two of my installers to not compress any files. It builds fine. The MSI itself is at the top most level. However, with one of the two MSIs almost all of the files are also at the topmost level rather than being in their respective subfolders. The files are being picked up from the pr

Re: [WiX-users] custom action executing managed executables

2007-10-22 Thread Mike Dimmick
WiX includes functionality to call the LoadPerfCounterTextStrings and UnloadPerfCounterTextStrings APIs and create the registry entries required. See the PerformanceCategory and PerformanceCounter elements in the Util schema. This feature is new in WiX v3.0. If still using WiX 2.0, you can inst

Re: [WiX-users] WiX v3 Sql Extension not executing SqlScript

2007-10-22 Thread EdB
Amy, Our DB installation process originally specified the SQL instance by name regardless of it being the default instance or not. We discovered that if we named the default instance (MSSQLSERVER) DB creation would fail with "unknown error" after 10-15 minutes of churning along. Changing our proce

Re: [WiX-users] Operating System language detection

2007-10-22 Thread Mike Dimmick
The latest documentation I'm using - which accompanied VS2005 (must update this...) says that for GetSystemDefaultLangID, "[t]he return value is the language identifier of the system locale". Which I think means it's the result of using the LANGIDFROMLCID macro on the return value of GetSystemDefau

Re: [WiX-users] custom action executing managed executables

2007-10-22 Thread Christopher Painter
This is probably a timely posting/read for you: http://blogs.msdn.com/windows_installer_team/archive/2007/10/20/integration-hurdles-for-exe-custom-actions.aspx Daniel Doubrovkine <[EMAIL PROTECTED]> wrote: Dear all, I read robmenÂ’s article on managed custom actions.

Re: [WiX-users] WiX v3 Sql Extension not executing SqlScript

2007-10-22 Thread Mike Dimmick
Just a quick bit of extra info on WiX version numbers: The first two digits of the Build part (major.minor.build.revision) are the 'project month number'. I think for WiX 3.0 this started at 10 and has incremented every month since. The second two digits are the day within the month. WiX 3.0 is

[WiX-users] custom action executing managed executables

2007-10-22 Thread Daniel Doubrovkine
Dear all, I read robmen's article on managed custom actions. I have an installer type activity to execute that I must do during installation (installing performance counters). You need to be admin to do that, so I have to run it within the installation. We want to execute the InstallPerfCou

Re: [WiX-users] Operating System language detection

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, "Mike Dimmick" <[EMAIL PROTECTED]> writes: > GetSystemDefaultUILanguage, I think. Hmm! I wonder how that is different from GetSystemDefaultLangID and when they would return different values? -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available f

Re: [WiX-users] COM+ Application Setup Identity Problem

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, "Mike Dimmick" <[EMAIL PROTECTED]> writes: > Richard is right that Local System is far too privileged. You should > consider using Local Service, if you don't need network credentials, or > Network Service (authenticates as the machine account in the domain),

Re: [WiX-users] Operating System language detection

2007-10-22 Thread Mike Dimmick
GetSystemDefaultUILanguage, I think. -- Mike Dimmick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gareth at Serif Sent: 22 October 2007 17:15 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Operating System language detection Does anyone kn

Re: [WiX-users] COM+ Application Setup Identity Problem

2007-10-22 Thread Mike Dimmick
After a long pile of digging through the source, I have discovered that the COM+ custom actions basically just manipulate members of the ICatalogObject interface. So, when you specify the Identity attribute, that sets the Identity property of the Application object in the Applications collection by

[WiX-users] Cannot install VC80 Runtime from VS2005 SP1 on Vista and Vista only

2007-10-22 Thread Adam Majer
Hi all, Installing the runtime from VS2005 SP1 using the merge module (yes, correct version) does NOT work on Vista while it works *perfectly* on 2003 server - both clean installs of the respective OS. Both OSes need the runtime installed for the program to run. The install log on Vista indicates

Re: [WiX-users] COM+ Application Setup Identity Problem

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes: > I'm using WiX and the pca extensions to install a COM+ Application and would > like to set the COM+ Application to run under the 'Local System' identity. Are you sure about that? Running as Local System is almost always a security

Re: [WiX-users] Automated testing?

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, "John Hall" <[EMAIL PROTECTED]> writes: > Has anyone done something similar? How have you gone about it? I've done some of it, but it wasn't particularly easy. > I do my testing manually at the moment using virtual machines (Virtual > PC 2007) to be able rol

[WiX-users] COM+ Application Setup Identity Problem

2007-10-22 Thread Ashley . Smith
Hi, I'm using WiX and the pca extensions to install a COM+ Application and would like to set the COM+ Application to run under the 'Local System' identity. I've tried using the 'Identity' attribute (I assume thats its intention) on the ComPlusApplication element but can't seem to alter the Identity

Re: [WiX-users] FilePath manipulation in WIX

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, Bob Arnson <[EMAIL PROTECTED]> writes: > Nitin Chaudhari wrote: > > > > Once I have this path I want to split it in directory (D:\Program > > Files\Microsoft Office\OFFICE11\ADDINS) and file (OTKLOADR.DLL) and > > then use it in directorysearch and filesearc

[WiX-users] Automated testing?

2007-10-22 Thread John Hall
I'm wanting to do some automated testing of my installers, testing upgrades from previous versions, doing some regression testing and doing a thorough testing of the various combinations of features available. Has anyone done something similar? How have you gone about it? I do my testing manual

Re: [WiX-users] Operating System language detection

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, Gareth at Serif <[EMAIL PROTECTED]> writes: > Does anyone know hoe to determin the language of the operating system? Have you tried looking at the SystemLanguageID property? It is determined by calling GetSystemDefaultLangID. -- "The Direct3D Graphics Pipel

Re: [WiX-users] Missing files - wix 2.0.5325.0 Release

2007-10-22 Thread Bob Arnson
[EMAIL PROTECTED] wrote: > I downloaded the latest stable release for Wix 2.0. I can't seem to find the > wixui_mondo.wixlib files are missing from the sdk\lib folder. Are these no > longer used? > It was replaced by wixui.wixlib, which contains all the dialog sets. -- sig://boB http://jo

Re: [WiX-users] FilePath manipulation in WIX

2007-10-22 Thread Bob Arnson
Nitin Chaudhari wrote: Once I have this path I want to split it in directory (D:\Program Files\Microsoft Office\OFFICE11\ADDINS) and file (OTKLOADR.DLL) and then use it in directorysearch and filesearch to finally see if the given dll has the required version. You need to write a custom a

Re: [WiX-users] HI WIX 3.0 FileShare question

2007-10-22 Thread Bob Arnson
Krishna Sapkota (Solutions IQ) wrote: > This is what I was trying but it didn't work. It creates the physical folder > named "[BLA]" in the InstalledDIR and creates the file-share on it. It does > not create the D:\Share1 folder but creates a folder named "[BLA]". > You need to use a custom a

Re: [WiX-users] Confusing UI Issue

2007-10-22 Thread Bob Arnson
conkerjoe wrote: >Value="SetupTypeDlg"> > SpawnDialog is to create pop-up dialogs; use NewDialog to replace the current dialog with a new one. -- sig://boB http://joyofsetup.com/ - This SF.net email is spo

Re: [WiX-users] Dialog disappearing instantly

2007-10-22 Thread Bob Arnson
Nitin Chaudhari wrote: Now the problem is I can see the PrereqCheck dialog, but it instantly disappears and the Installing dialog is shown. Is there any way I can block the Installing dialog and force the user to do some action in PrereqCheck dialog? That's up to the dialog being shown. I

Re: [WiX-users] WixUI_Mondo.wxs + AdminInstallUI

2007-10-22 Thread Bob Arnson
RussGreen wrote: > I did the UI-less admin install and the error still occurred so it's safe to > say it's not in my UI. > OK, so the next step is to take out your UI authoring (e.g., UIRefs). -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] heating COM componnents and getting LGHT0130 on generated registry data

2007-10-22 Thread Bob Arnson
Karim MacDonald wrote: > I may see if I can fix this particular bug on my own system. I don't know > how patch submissions work, but naively expect that I might then be able to > submit a patch for inclusion at some date? > Sure. You'd need to submit an assignment agreement to get it included;

[WiX-users] error in selection tree(urgent plz help)

2007-10-22 Thread shambhu kumar
hi this z the code for the dialog Custom setup. when i m running the msi all the features r getting listed but when i do right click on features a message "UIText is missing" instead of strings i defined in UITxt table. the Dialog is defined as

Re: [WiX-users] Confusing UI Issue

2007-10-22 Thread Gareth at Serif
I think the problem is with your SpawnDialog event... try NewDialog instead. -- View this message in context: http://www.nabble.com/Confusing-UI-Issue-tf4646232.html#a13344788 Sent from the wix-users mailing list archive at Nabble.com. --

[WiX-users] Operating System language detection

2007-10-22 Thread Gareth at Serif
Does anyone know hoe to determin the language of the operating system? I'm aware that the MSI Engine stores the locale, which you can configure in the control panel. However, there must be something deeper as some of Microsoft's KB updates (xmllite & WIC, for example) seem to fail if the OS is o

Re: [WiX-users] Question on CheckBox

2007-10-22 Thread Jaguar 36
Thanks! Will try this method! > To: wix-users@lists.sourceforge.net> From: [EMAIL PROTECTED]> Date: Mon, 22 > Oct 2007 09:35:14 -0600> Subject: Re: [WiX-users] Question on CheckBox> > > > In article <[EMAIL PROTECTED]>,> Jaguar 36 <[EMAIL PROTECTED]> writes:> > > I > have a dialog that has a pa

Re: [WiX-users] Question on CheckBox

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, Jaguar 36 <[EMAIL PROTECTED]> writes: > I have a dialog that has a password and a confirm password edit control. > They are both set to Password=3D'yes'. > I also have a checkbox that reads Display Password. > What I want to do is to be able to display the Pas

[WiX-users] Question on CheckBox

2007-10-22 Thread Jaguar 36
Hi, I have a dialog that has a password and a confirm password edit control. They are both set to Password='yes'. I also have a checkbox that reads Display Password. What I want to do is to be able to display the Password when the user checks on the checkbox and set it to password when he unchec

Re: [WiX-users] WiX v3 Sql Extension not executing SqlScript

2007-10-22 Thread Chad Petersen
Apparently WiX v3 is working differently than WiX v2 that I use. Good luck! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amy Rosewater Sent: Thursday, October 18, 2007 12:45 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] WiX v

Re: [WiX-users] Wrapper Custom Action to invoke DLL

2007-10-22 Thread Christopher Painter
A wrapper custom action is a Type 1 CA whose puprose is to implement the encapsulation / adapter pattern for another DLL whose interface / function definition is incompatible with MSI. The wrapper CA basically does the approriate MsiGetProperty and MsiSetProperty calls along with MsiProces

Re: [WiX-users] set %PATH% [SOLVED]

2007-10-22 Thread Jason Rivers
Thanks for that Kelly, looks like it's just been a long day. I had also missed off the "\bin\" off the end after "[INSTALLDIR]", which is why my app still wasn't seeing the DLL. so this is now Solved. /J On 10/22/07, Kelly Leahy <[EMAIL PROTECTED]> wrote: > > > Jason, > > Would you happen to b

Re: [WiX-users] Wix CA

2007-10-22 Thread John Vottero
This works for us: From: Harini Gurusamy [mailto:[EMAIL PROTECTED] Sent: Monday, October 22, 2007 1:43 AM To: John Vottero; wix-users@list

Re: [WiX-users] set %PATH%

2007-10-22 Thread Kelly Leahy
Jason, Would you happen to be checking the path on an existing command line window, or have you opened a new one? The path of existing command line windows does not change when the system is updated (there isn't really any good way to do this, since the user could have changed the path already

Re: [WiX-users] set %PATH%

2007-10-22 Thread Jason Rivers
On 10/22/07, Richard <[EMAIL PROTECTED]> wrote: > > > In article <[EMAIL PROTECTED]>, > "Jason Rivers" <[EMAIL PROTECTED]> writes: > > > I have these Lines: > > > > > > > >> Guid="2D5030EF-6D11-4F48-B183-D1AE2EF87B61"> > > > Part="last" System="yes" Value="[INSTAL

Re: [WiX-users] set %PATH%

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, "Jason Rivers" <[EMAIL PROTECTED]> writes: > I have these Lines: > > > >Guid="2D5030EF-6D11-4F48-B183-D1AE2EF87B61"> > Part="last" System="yes" Value="[INSTALLDIR]" /> > > > > > > and also the line under my mai

Re: [WiX-users] Shortcut Targets and Shared Components

2007-10-22 Thread Robert.Priest
> I don't see a problem with what you've done, but I haven't tried it or > tested it. Did you run the ICE suite and ensure that your solution > didn't generate new ICE errors or warnings? I did not receive any additional ICE errors or warnings. I was able to compile an msi and it all worked. My

[WiX-users] set %PATH%

2007-10-22 Thread Jason Rivers
I know this may cause some issues with people disagreeing, but i'm in no position to change what our program does until I have a working WIX installer that I can then play with it and change things accordingly, however, currently the application requires it's path to be in the PATH environment vari

Re: [WiX-users] Problem in WIX

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, Deepak Krishna <[EMAIL PROTECTED]> writes: > 1. How to use two binary file in a single custom Action in WIX? What for? Tell us the goal, not the task you think you need to accomplish in order to reach your goal. > 2. How to pass a binary file as

[WiX-users] Wrapper Custom Action to invoke DLL

2007-10-22 Thread Anidil
What is a Wrapper Custom Action? what is its significance? how is it different from Type1 custom action? How do i create a wrapper CA that invoke a DLL and pass the result back to an MSI property?Please help Thanks Anidil -- View this message in context: http://www.nabble.com/Wrapper-Custom-A

Re: [WiX-users]

2007-10-22 Thread Richard
In article <[EMAIL PROTECTED]>, "Nitin" <[EMAIL PROTECTED]> writes: > I am having trouble with detecting if a file is installed, I am using the > following code, however it seems that WIX sets the property even if > MinVersion is 7.10.3191.0 What does your verbose log say? -- "The Direct3D

[WiX-users] Pull ata smack o the contrary.

2007-10-22 Thread Eugenia Nix
According to the Broadband Stakeholders Group the government is. According to mi2g this is the largest number of attacks to take place in a single day. - This SF.net email is sponsored by: Splunk Inc. Still grepping through l

[WiX-users] Silent Installation

2007-10-22 Thread Guna S
Hello Everyone, This is regarding "Disk Space". How to check the diskspace? If space is not available in default location(ie C:\\) incase of Normal Installation, User can change the path, but incase of silent install, it should automatically selects another loc, (which loc has available space) a