[WiX-users] FW: 'Invalid character found' error while installing.

2009-08-21 Thread libin
Anybody please tell me whether this is a problem with WIX. Didn't see any hint other than registry cleanup. Even this happened when I tried to install the product for the first time in a computer. So In that case it maynot be a problem of registry cleanup. -Libin -Original Message-

[WiX-users] FW: 'Invalid character found' error while installing.

2009-08-21 Thread libin
Anybody please tell me whether this is a problem with WIX. Didn't see any hint other than registry cleanup. Even this happened when I tried to install the product for the first time in a computer. So In that case it maynot be a problem of registry cleanup. -Libin -Original Message-

[WiX-users] strong name sign for C# customaction.dll

2009-08-21 Thread Lian Jiang
Hi, I asked the same question a while ago. After some experiment, I repost this question with more information. It is very important for me because the C# custom action solution cannot scale without resolving signing issue. Without strong name signed, customaction.dll cannot consume other

[WiX-users] XML documentation file to GAC

2009-08-21 Thread Rieche, Simon
Hello, is there a way to deploy with WiX the XML documentation file -generated by Visual Studio- together with the dll to the GAC? For example the file Test.xml for the Test.dll: Component Id=C_Test.dll Guid=---- File Id=F_Test.dll Name=Test.dll KeyPath=yes

Re: [WiX-users] XML documentation file to GAC

2009-08-21 Thread Simon Dahlbacka
AFAIK, you shouldn't have any need to do this (for IntelliSense purposes), as Visual Studio/MSbuild won't resolve the file from GAC when building anyway. /Simon On Fri, Aug 21, 2009 at 10:31 AM, Rieche, Simon simon.rie...@iriscorporate.com wrote: Hello, is there a way to deploy with WiX the

Re: [WiX-users] XML documentation file to GAC

2009-08-21 Thread Inbar, Ron
Hi Simon, 1. In addition to the GAC, put another copy of the file in a dedicated folder and register that folder's location here: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders (Take a look at the existing contents of this registry key for an example.) This will make

Re: [WiX-users] Prevent file deletion duting upgrade

2009-08-21 Thread Konstantin Vlasenko
Is it possible to modify installed product from an second setup. I have created VScript and it works fine as alone. But it fails if I run it from second setup custom action. 2009/8/21 John Ludlow john.ludlow...@gmail.com Hi, Just to provide an alternative, I personally use a CA which modifies

[WiX-users] failed to connect to database

2009-08-21 Thread BOURDET Xavier
Hi I use the sqlextension to update an existing database with a sql login. If the package msi runs on the SQL server , this is OK and scripts run but on a remote sql server doesn't work. I have this message in msi log : Error 0x80004005: failed to connect to database:

Re: [WiX-users] How to strip the leading '#' from a numericalvalue retrieved from a reg key using RegistrySearch

2009-08-21 Thread John Trump
Can anyone provide an example custom action that will strip characters off the return value I get in this property from a registrysearch? DWORD registry values will always have a prefixed '#' character. It is possible for it to get a '+' or a '-' character following the '#' and preceding the

[WiX-users] Install File Shortcut based on registry value

2009-08-21 Thread Yu, Brian
I want to install file shortcuts based on a value in registry, can it be done? If HKLM\software\myapp\myKey1 exists, then don't install shortcut If HKLM\software\myapp\myKey2 exists, then install shortcut How can I add conditions to components and features? Do I have to use custom

[WiX-users] Changing, then using Environment Path during Installation

2009-08-21 Thread Barry Home
I've seen a post or two about a situation wherein the environment Path is modified to include a new directory reference which is to be used later during the same installation session. Specifically, I have used the Environment element to append a directory reference to the Path variable then,

Re: [WiX-users] How to work with ALLUSERS

2009-08-21 Thread Hotmail Acc
I did some this like this and getting the following errors:- For Errors 1, 2 how can I avoid adding unnecessary keys to registry. Since I will be adding lot of files under these folders. I was noticing Errors similar to 3,4,5 if I don't put components under DirectoryRef. How do I get rid of

Re: [WiX-users] FW: 'Invalid character found' error while installing.

2009-08-21 Thread Wilson, Phil
You haven't said this in any of your posts, but if this is associated with error 1324 then there are several articles in MS HelpSupport about this message, such as: http://support.microsoft.com/kb/923101 or http://support.microsoft.com/kb/894510 which is about the Shell Folders registry

[WiX-users] delete files at the end of installation.

2009-08-21 Thread Lian Jiang
I am installing a driver using my own install.exe and the *.sys file. I cannot use wix difx to install the driver for some reason. Difx element has an attribute DeleteFiles which will delete the *.sys file at the end of installation if set TRUE. Interestingly, DIFX installation process seems

Re: [WiX-users] How to work with ALLUSERS

2009-08-21 Thread Blair
These errors are all ICE errors. Here is one way: For errors 3, 4, 5 (the ICE64s): In each component, add RemoveFolder Id=copy-the-component-Id-value-here On=uninstall/ to each component. You could have added the attribute Feature=ProductFeature instead of having to create the ComponentRef

Re: [WiX-users] Changing, then using Environment Path during Installation

2009-08-21 Thread Blair
I'm not sure, but it does illustrate yet another reason that SelfReg is evil. -Original Message- From: Barry Home [mailto:bhelmstet...@cox.net] Sent: Friday, August 21, 2009 9:26 AM To: WiX-Users List Subject: [WiX-users] Changing, then using Environment Path during Installation I've

Re: [WiX-users] delete files at the end of installation.

2009-08-21 Thread Blair
In a typical installation sequence the DeleteFiles action comes BEFORE the InstallFiles action. However, good custom actions always use data from the MSI database, which would make them declarative. -Original Message- From: Lian Jiang [mailto:lji...@microsoft.com] Sent: Friday, August

Re: [WiX-users] WiX 3.0: Custom Action Type 50 - Read registry to uninstall the previous version of software

2009-08-21 Thread little.forest
Hi all, I'd like to second this question. Let me reclaim it: I just want to search registry to find an old installed software which didn't use MSI, and then run this uninstaller. So I search the registry: Property Id='QUERY_REG_CPSW' RegistrySearch Id='QueryRegCpsw'

[WiX-users] Major Upgrade: How to do major upgrade for the currect product and a previous product?

2009-08-21 Thread little.forest
Hi, We're using WiX version 3. We do Major Upgrade. It works fine. I mean, when installing a new version, the old version of the software is uninstalled first, then the new software is installed. 0F8634B0-560B-4473-BBC3-46D885AC8E04 is the upgrade code. Our new software version is 3.x.y

Re: [WiX-users] Major Upgrade: How to do major upgrade for the currect product and a previous product?

2009-08-21 Thread Blair
What does your verbose debug install log say? Was the OLDPRODUCTFOUND property ever set? -Original Message- From: little.forest [mailto:little.for...@ymail.com] Sent: Friday, August 21, 2009 3:52 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Major Upgrade: How to do major

Re: [WiX-users] How to work with ALLUSERS

2009-08-21 Thread Hotmail Acc
I am still getting the following with your recommended changes:- G:\WiX3\ACT Network Sync\ACT Network Sync\Product.wxs(19,0): error LGHT0204: ICE64: The directory CommonAppDataFolder is in the user profile but is not listed in the RemoveFile table. I am creating a folder under