Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-14 Thread Rob Mensching
Quick question, this is from a rebuilt custom action DLL, right? The defaults provided by the WiX toolset work fine, right? I was certain that we *always* link with the static CRT. On Fri, May 14, 2010 at 4:28 PM, Kristoffer Danielsson < kristoffer.daniels...@live.se> wrote: > > I solved it. Damn

Re: [WiX-users] Create new components in a patch

2010-05-14 Thread Blair
What you really have to do is include patch sequence information in every patch you distribute so that the hotfix patch is always sequenced after the SP1 patch, no matter the order of their application. Otherwise your only other alternative is to put HotFixRegKey in a new feature, and I'm not conv

Re: [WiX-users] Accessing Custom Table

2010-05-14 Thread Blair
Sometimes it worked, sometimes it didn't. I've learned to go for the assumption that explicit === more-reliable. -Original Message- From: Alexander Shevchuk (Volt) [mailto:a-ale...@microsoft.com] Sent: Friday, May 14, 2010 9:34 AM To: General discussion for Windows Installer XML toolset.

Re: [WiX-users] RegistrySearch converts value data

2010-05-14 Thread Blair
Do you have a directory named HELPINSTALLDIR? -Original Message- From: Jimmie Eriksson [mailto:eriksson.jim...@gmail.com] Sent: Friday, May 14, 2010 9:22 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] RegistrySearch converts value data Ok, so you're

Re: [WiX-users] User Identifier Windows

2010-05-14 Thread Richard
In article <097f198560bb9341b6781cb7946b81cc1833977...@va3diaxvs101.red001.local>, Carolina Zuqueto Amaral writes: > Is there a property what informs the user identifier Windows ? The environment variable USERNAME is filled with the user's account name. -- "The Direct3D Graphics Pipeline

Re: [WiX-users] How to rollback a quiet CA

2010-05-14 Thread Blair
A rollback CA is a deferred CA that is scheduled (usually right) before the deferred CA it undoes the action of and is only called if there is a failure in any action "after" the rollback CA is "scheduled". If you are attempting to use "quiet CAs" for this, you will do: With appropriate sched

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-14 Thread Kristoffer Danielsson
I solved it. Damn, I wish the MSI log would be more detailed! It's a classic mistake! For those interested, read on :) I have stripped WixUIExtension.dll down to a tiny DLL with only two exported APIs: "PrintEula" and "ValidatePath". Hence, a very simple custom action - used by WIX. It work

Re: [WiX-users] Finally a GUI solution with WiX

2010-05-14 Thread Tomasz Grobelny
Dnia piątek 14 maj 2010 o 02:00:13 dB. napisał(a): > I played with SharpSetup for an hour. I see some value, especially getting > started, but these neatly integrated things often end up being more of a > drag and time saved upfront has a very long tail. > Thanks for your feedback. I tried to writ

Re: [WiX-users] Finally a GUI solution with WiX

2010-05-14 Thread Tomasz Grobelny
Dnia piątek 14 maj 2010 o 17:01:33 Tony Juricic napisał(a): > If it were using WPF, I would seriously consider it. > SharpSetup does not use WPF and most likely will not use it in the nearest future (there are more important features to implement IMO). Still you could write your own GUI part in

Re: [WiX-users] User Identifier Windows

2010-05-14 Thread Alexander Shevchuk (Volt)
You mean LogonUser (http://msdn.microsoft.com/en-us/library/aa369780(v=VS.85).aspx) or something else? -Original Message- From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] Sent: Friday, May 14, 2010 12:33 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Use

Re: [WiX-users] Looking for assistance using WIX to rollback an install upon failure of a custom action.

2010-05-14 Thread Blair
It would need to be a deferred action scheduled between InstallFiles and InstallFinalize, or an immediate/deferred action pair where the immediate action is scheduled as above and calls MsiDoAction (to place the deferred action into the script) on the deferred action after creating a property to fe

[WiX-users] Create new components in a patch

2010-05-14 Thread Uma Harano
Hi, I am having problems with creating new registry key components in a patch. SP1 (version 1.1) msp creates a new registry component (SP1RegKey) in Feature A and it targets the base version (1.0). Hot Fix 1 is released after SP1 and it creates another new registry component (HotFixRegKey) to th

[WiX-users] User Identifier Windows

2010-05-14 Thread Carolina Zuqueto Amaral
Hi, Is there a property what informs the user identifier Windows ? Thanks, Carolina Zuqueto Amaral carolina.ama...@conv.com.br tel +55 21 2494-5476 cel +55 21 9524-7186 -- _

[WiX-users] crystal 2008 (12.2) msm

2010-05-14 Thread lewisv
I am trying to my installer working with the crruntime_12_2.msm from Crystal Reports. It is giving me 23 errors most of which are web.config is installed by two different components. First I don't know why it is installing a web config ( i only really need the viewer ) Plus i need to get rid of a

Re: [WiX-users] Accessing Custom Table

2010-05-14 Thread Alexander Shevchuk (Volt)
That was my first thought too, but according to MSDN (http://msdn.microsoft.com/en-us/library/aa372021(VS.85).aspx): A {column-list} is a comma-delimited list of one or more table columns referred to as {column} selected. Ambiguous columns may be further qualified as {tablename.column}. An aste

Re: [WiX-users] [Wix-users]Patch and Services

2010-05-14 Thread Blair
Applying a patch consists of updating the view and repairing features. When applying the patch, you can set the REINSTALL property to the specific list of affected features, or use ALL which will reinstall all already installed features. If you allow patch optimization, the service-related actions

Re: [WiX-users] RegistrySearch converts value data

2010-05-14 Thread Jimmie Eriksson
Ok, so you're right about the win64dualfolders thingie.. WIN64DUALFOLDERS: 'C:\Program Files (x86)\' will substitute 17 characters in 'C:\Program Files\Microsoft Help Viewer\v1.0\' folder path. (mask argument = 0, the folder pair's iSwapAttrib member = 0). But isn't it odd, depending on target sy

Re: [WiX-users] Accessing Custom Table

2010-05-14 Thread Blair
Windows Installer's SQL engine doesn't recognize "*" as a valid column-list. You have to explicitly list each column in your query string. -Original Message- From: Thomas Spranger [mailto:m...@thomas-spranger.de] Sent: Wednesday, May 05, 2010 1:41 AM To: wix-users@lists.sourceforge.net Su

Re: [WiX-users] Cabinet file dates are stored in local time rather than UTC

2010-05-14 Thread Blair
I looked at that CodeProject's code. The use of UTC for the date/time of files in CAB files in that code is a specific implementation "allowed" but not defined by anything I was able to find publicly available. The bit they set to indicate that they are using UTC is defined as reserved in the very

Re: [WiX-users] Finally a GUI solution with WiX

2010-05-14 Thread Tony Juricic
If it were using WPF, I would seriously consider it. -Original Message- From: Michael Clark [mailto:mcl...@fullarmor.com] Sent: Thursday, May 13, 2010 5:02 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Finally a GUI solution with WiX I was just getting ready to start a ne

Re: [WiX-users] RegistrySearch converts value data

2010-05-14 Thread Pally Sandher
Not a bug, not even close to a bug. You're using an x86 package on an x64 system. Look for WIN64DUALFOLDERS in a verbose log (/l*vx). You'll see that's what's changing the property. If you want to access x64 specific locations like C:\Program Files\Microsoft Help Viewer\v1.0\ on x64 systems you n

Re: [WiX-users] RegistrySearch converts value data

2010-05-14 Thread Matt Johnson
Not sure why. I had the same problem. I used the StringTools custom action from the msiext project to take the " (x86) back out. If there's an easier way, I'd be glad to know. BTW - I checked that specific key, and it is indeed just "Program Files", in both the regular x64 root and the wow x

[WiX-users] RegistrySearch converts value data

2010-05-14 Thread Jimmie Eriksson
Hi Anyone who can tell me why my RegistrySearch converts the value contained in the registry? The actual value in registry is... AppRoot = C:\Program Files\Microsoft Help Viewer\v1.0\ But according to the log file upon installation C:\Program Files\Microsoft Help Viewer\v1.0\ c

Re: [WiX-users] Adding reference to WiX project doesn't lead to copy referenced project's files

2010-05-14 Thread Matt Johnson
Hi Ilya, In your source project, make sure you have the build action set appropriately for each file. It should be Compile for .cs files that make their way into assemblies, Content for files you want harvested by heat, and None for files you want heat to ignore. Then when setting your refere

Re: [WiX-users] Adding reference to WiX project doesn't lead to copy referenced project's files

2010-05-14 Thread Илья Сербис
Matt, First of all thanks for your response. msbuild's HarvestProject task isn’t appropriate for my goals for some reasons. The main is that heat doesn’t create list of all files from project’s output directory but instead add reference only to the project assembly. This is almost useless bec

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-14 Thread Kristoffer Danielsson
I'm starting to believe that this is related to VMWare Workstation 7. Just installed XP Home SP2 on a VM, and it shows the same error. > From: kristoffer.daniels...@live.se > To: wix-users@lists.sourceforge.net > Date: Fri, 14 May 2010 11:49:14 +0200 > Subject: Re: [WiX-users] PrintEula.Validat

Re: [WiX-users] Desktop Shortcut on Current User Only?

2010-05-14 Thread Sach
Thanks Pally. It was a request from the clients to see if we can create a shortcut that way but we finally agreed to make it an All User shortcut. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Desktop-Shortcut-on-Current-User-Only-tp5044866p50504

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-14 Thread Kristoffer Danielsson
Below you see the MSI log when run on Windows 7. As you can see, WIXUI_INSTALLDIR_VALID is indeed set. Action 11:43:33: WixUIValidatePath. Action start 11:43:33: WixUIValidatePath. MSI (c) (E8:98) [11:43:33:098]: Creating MSIHANDLE (1) of type 790542 for thread 5784 MSI (c) (E8:A0) [11:43:3

Re: [WiX-users] Desktop Shortcut on Current User Only?

2010-05-14 Thread Pally Sandher
Yes pretty much. A per-machine install will always reference per-machine locations. There's a couple of things you could try but I don't get why you want to create something for one user on a system when the application is available to all users of the system. Also any hacks to get around this hav

Re: [WiX-users] Resiliency repair dialogs

2010-05-14 Thread Igor Paniushkin
Sascha, Thank you for information. I will try to look around. We also have one merge module, but it doesn't really related to this COM object. And currently .NET 3.5 SP1 is prerequisite for this installer. -Original Message- From: Sascha Beaumont [mailto:sascha.beaum...@gmail.com] Sent:

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-14 Thread Kristoffer Danielsson
Printer spooler is running, and XPS document printer is installed (e.g. it is accessible via Notepad -> Print). I did notice that this line is NEVER printed in the log when path validation should occur: PROPERTY CHANGE: Adding WIXUI_INSTALLDIR_VALID property. Its value is '1'. <-- never se

Re: [WiX-users] PrintEula.ValidatePath fails under VMWare!

2010-05-14 Thread Pally Sandher
Does your VM have any Printers installed & is the Spooler service running? It works fine for us using WiX v3.0 build packages on XP 32-bit, XP 64-bit, Vista 64-bit & Windows 7 64-bit. I have a VMWare ESXi server setup with version 7 virtual machines for my own & QA's testing purposes. Palbinder

Re: [WiX-users] Could WiX warn about this?

2010-05-14 Thread Blair
Since it is perfectly valid for the same source directory to supply files for different target directories, the usage you gave was "valid" in its own way. Further, by conditioning components, two different files with the same name may appropriately go into the same target directory. Warning about i

Re: [WiX-users] TFS 2010, Network Service and ICE validation

2010-05-14 Thread Blair
InstallShield is able to perform ICE validation in a non-interactive, non-admin account (such as NetworkService)? They aren't using the MSI APIs documented for that then. -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Friday, April 30, 2010 8:01 AM To: Gen