[WiX-users] Disabling Cancel button in XP fails where as in Vista It works fine.

2007-07-19 Thread Subhash Badri
Hello Wix users, My requirement: When I start a Custom action (installing a MSU package, which take considerable time) I want to remove the cancel button, coz I don't want people to cancel the installation during the MSU installation. My Installation: 1. A DLL to remove the cancel button

[WiX-users] SQL Scripts Problem

2007-07-19 Thread Petrut Andrei
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ - This SF.net emai

Re: [WiX-users] unconditional full install on minor upgrade

2007-07-19 Thread Nitin
Thanks, the PackageCodes were same. I have changed them now, and I no longer get the Maintenance screen. However, Add remove programs contains entries for both the versions. How can I remove the older entry? I do have Does it have anything to do with the OnlyDetect="yes" in mailto:[EMAIL PROTEC

[WiX-users] Adobe Photoshop ready to download Our price US $ 269.90

2007-07-19 Thread Rocky Gomez
Adobe Photoshop CS3 Extended $89 http://gosoftse.com - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___

Re: [WiX-users] Problem adding assembly to GAC

2007-07-19 Thread Mike Menaker
I saw a thread about GACing that said: "If a file is marked for the GAC, it goes there only. MSI doesn't install the file, then run gacutil or equivalent -- it uses Fusion interfaces directly to install to the GAC." Is this true? I'm still not able to get the installer to work right

Re: [WiX-users] Got the msi I wanted working

2007-07-19 Thread Mike Dimmick
Taking the simple ones: ICE33 warns if you're not advertising your COM objects. Generally advertised COM objects are not now recommended because they can cause installer dialogs to apparently appear randomly (as far as the user is concerned). This warning is generally ignored by most people, and l

Re: [WiX-users] v3 light crashing with DirectoryNotFound exception

2007-07-19 Thread Mike Dimmick
Looks like it's trying to load the embedded CABs within an extension DLL. Quite why it should fail here when the extension itself is clearly being loaded (as the library referencing the embedded CAB has been linked) I don't know. What exact version number of WiX are you using? Have you tried th

Re: [WiX-users] Migrating from wix 2.x to 3.x

2007-07-19 Thread Mike Dimmick
v2 is now considered stable - only bugfixes will be made, no new features added. v3 is still in a state of flux - features could be added, removed or modified at any time. It's up to you to decide how much risk you're prepared to take. There have been changes to the schema, so you will need to

[WiX-users] Problems about running a msi against Vista

2007-07-19 Thread Hao Liu
I run a msi by using msiexec 4.0 on Vista with UAC ON. And the msi have two custom actions (a setup dll and a remover dll). Even if my account is Administrator, it failed to install on Vista though it worked on XP. After I set the two CA with Impersonate="no" as Bob Arnson suggested, they get eleva

Re: [WiX-users] WOW6432Node registry trouble for 64 bit MSI

2007-07-19 Thread Fei Cao
I now know the issue lies in our build script (which changes the attribute value) & the fact that I also created another 64 bit component to write to the same registry (I intend to write to both WOW6432 and counter part outside WOW6432, but seems I have to use different regkey name). From: Fei

[WiX-users] Custom rollback custom action...

2007-07-19 Thread Rory Clark
I have a custom action that makes configuration changes. I want to modify it so that if it fails it can rollback the install or uninstall. At first, it didn't return a value, so I modified it to return MsiError.InstallFailure. That didn't work. Nope, it was installed. So, I had it re-throw the

[WiX-users] Is there string manipulation in WIX?.

2007-07-19 Thread Venkatesh Malepati
I could not find any topic which does string manipulation. I need to get the first part of the CD Key and install only and do some calculation and then install product(s) depending upon the calculation outcome. Can anybody think that it is easy or do I need to write a program in c or visual bas

[WiX-users] How to delete a file that has created by an external program.

2007-07-19 Thread srinivas nomu
I am now successfully call an exe to write a license.dat file. However, I have a small problem. 1) When I unistall how should I delete manually this file?. I used this code, since I have to write to this directory, I need to create a directory in wix itself under Appluication data. Now when U

Re: [WiX-users] Conditionally edit XML file if it is installed

2007-07-19 Thread Arnette, Bill
Oops, got the sense wrong on the element below that I was using to try to debug this stuff. So, nevermind that. After resolving that, putting the conditional (SYSCONFIGFILEEXISTS) on the XML editing component works as long as I schedule AppSearch after CostInitialize in the InstallUISequence tab

[WiX-users] WOW6432Node registry trouble for 64 bit MSI

2007-07-19 Thread Fei Cao
Hi, I want the 64 bit installer to write to WOW6432Node registry, which is used for 32 bit application, and the 64 bit components will not write to registries under WOW6432Node. >From WIX help file for element: Win64 YesNoType Set this attribute to 'yes' to mark this as a 64-bit component.

Re: [WiX-users] Migrating from wix 2.x to 3.x

2007-07-19 Thread Gonzalo Diethelm
And one more thing: where is the wixui_minimal.wixlib file for v3? Thanks,-- Gonzalo Diethelm[EMAIL PROTECTED]-Original Message-From: "Gonzalo Diethelm" <[EMAIL PROTECTED]>Sent 7/19/2007 2:52:28 PMTo: wix-users@lists.sourceforge.netCc: [EMAIL PROTECTED]Subject: Migrating from wix 2.x to 3.x

[WiX-users] Migrating from wix 2.x to 3.x

2007-07-19 Thread Gonzalo Diethelm
Hello everyone,I have been using wix to create the installer for a small app I have developed. I have not used this for about a year now, so I am pretty sure it must have been v2. So now I come in and see a new and shiny v3, and I wonder whether I should migrate to it. Questions:Is it advised to mo

Re: [WiX-users] New to wix 3.0 ( 3.0.2925.0)

2007-07-19 Thread Peter Marcu
Unfortunately, removing a file via a patch is not as easy as that. Windows Installer requires that if a component is removed, the feature containing it be removed so you probably don't want to do that. You need to author a RemoveFile element to remove the file in your component. This will remove

Re: [WiX-users] Conditionally edit XML file if it is installed

2007-07-19 Thread Arnette, Bill
Well, I'm also trying that, and I'm just not grok'ing file search. For some reason, the "SysConfig.xml exists!" message is firing even when INSTALLDIR does not exist on the system; let alone SysConfig.xml. I moved AppSearch after CostFinalize to make sure that INSTALLDIR is

Re: [WiX-users] New to wix 3.0 ( 3.0.2925.0)

2007-07-19 Thread Collins, James
My understanding is that if your removing a file then just remove the whole component all together and when you upgrade MSI will realize the component no longer exists and remove the file for you. So you would start with And change it to... Empty string. But as I said I'

Re: [WiX-users] New to wix 3.0 ( 3.0.2925.0)

2007-07-19 Thread Patrice Lamarche
Hello, First, thanks for the reply. No I'm not using heat, I'll look. I'm currently generating my GUIDS with a perl script for the 1st install and we planned to create a program that will create the RemoveFile entry for deleted files, add the new files. I downloaded a weekly buil

Re: [WiX-users] New to wix 3.0 ( 3.0.2925.0)

2007-07-19 Thread Collins, James
Hey Patrice, Have you tried using heat.exe ?? Since you have so many files you might want to take a look at that. You point it to you folder and it writes out the wxs file for you including all the reg keys for DLL's etc. If order to build patch's and minor version

Re: [WiX-users] Conditionally edit XML file if it is installed

2007-07-19 Thread Pierson Lee (Volt)
Would it be worthwhile to do a filesearch and if it doesn't exist to then install the component and change the file (in a different feature)? That would be the way I'd do it, but I have yet to use the NeverOverwrite option. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE

Re: [WiX-users] Searching text files

2007-07-19 Thread Christopher Painter
Not only that, but IniLocator/AppSearch can only search INI files in the WindowsFolder directory. It's about the most useless pattern I've ever seen. What Windows Installer really needs is a built in XmlLocator and RegExLocator patterns. I guess the chances of that are slim to none however..

Re: [WiX-users] How to deploy all the files inside the folder rather than specifying each files

2007-07-19 Thread Pierson Lee (Volt)
There is not a way to specify a directory. You will need to specify each file explicitly to have it be part of the installation From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lingappa Sent: Thursday, July 19, 2007 3:48 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Ho

Re: [WiX-users] Companion Files

2007-07-19 Thread Bob Arnson
John Hall wrote: I'm trying to set the CompanionFile attribute of a file, something like this: Assuming Companion is a typo for CompanionFile, it looks right. Which version of WiX are you using? -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Read out value from Registry and put it as String to a Filename

2007-07-19 Thread Bob Arnson
Martin Österreicher wrote: > I want to read out this value from the registry and use this String-Value as > the extension for a File, e.g. Filename.DEA or Filename.ENU. > There's no support in MSI to have file or directory names that include properties. MSI wants that information to be fully

Re: [WiX-users] Searching text files

2007-07-19 Thread Bob Arnson
Craig Ward wrote: > I have a global property that I'd like to initialize to a value found > within a line of text, in a text file. This file is close to an ini-file > format, except that it doesn't have section headers, so I'm not sure > that I can use IniFileSearch (the compiler keeps complaining

Re: [WiX-users] Patch requires source (error 1706)

2007-07-19 Thread Bob Arnson
Marc Durdin wrote: This is not documented anywhere that I can see. Can you provide a source for this problem? No, just anecdotal evidence. The thing is, a major upgrade patch is an exact match for our requirement to allow updates to the latest released version of our application without

Re: [WiX-users] Populating Listbox from a custom action

2007-07-19 Thread Bob Arnson
Alexei wrote: > Thanks for all the replies however it's not the inclusion of the listbox > table - that is most definitely there. And I can populate it as well. > The problem is trying to achieve the behavior corresponding to > But what exactly is the problem? Is the data not getting written to

[WiX-users] Conditionally edit XML file if it is installed

2007-07-19 Thread Arnette, Bill
I am trying to have my installer edit an XML file after it is installed. However, the XML file should not be installed or edited if it already exists on the system. So I am trying to condition the installation of the XML editing component on the state/action of the component which contains the XM

[WiX-users] v3 light crashing with DirectoryNotFound exception

2007-07-19 Thread Reggie Burnett
This is unexpected because I'm been running v3 Wix now for several months. I installed it this morning into a Win2k3 image and now my project is giving me a DirectoryNotFound exception when light is run. Here is the stack trace: [exec] light.exe : error LGHT0001 : The system cannot find the

[WiX-users] Got the msi I wanted working

2007-07-19 Thread Brian Elmegaard
Hi, finally I have been able to take the time and read this list, the tuorial and the help file carefully. I seem to have everything working as intended. I only have a few warnings when running msival2. I am not sure if I should be bothered because of warnings. The warnings I have are as shown be

[WiX-users] New to wix 3.0 ( 3.0.2925.0)

2007-07-19 Thread Patrice Lamarche
Hello everyone, We are stating using WiX. I'm searching for some help about how to structure our wxs file. We have a lot (more than 60K) files. The format we use currently is one file per component and one feature containing all the components. I have to build patch between minor ve

[WiX-users] Companion Files

2007-07-19 Thread John Hall
Hi, I'm trying to set the CompanionFile attribute of a file, something like this: This doesn't seem to work. If I look at the generated File table, the companion file contains its version, not 'parent' as I would expect. Am I using the CompanionFile attribute correctly? Cheers, Jo

[WiX-users] Help to create autorun feature

2007-07-19 Thread Praveen Anidil
Hi all Can anyone suggest me a way to create autorun feature using WIX TIA Anidil - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limi

[WiX-users] How to deploy all the files inside the folder rather than specifying each files

2007-07-19 Thread Lingappa
Hi, I need to specify contents of whole directory needs to be installed instead specifying each file names. Currently i am using like mentioned below: ... ... ... ... I need to specify all the files. Problem any file is being added to the directory ag

[WiX-users] Help to create quick launch shortcut

2007-07-19 Thread Anidil
I'm a newby in WIX,lookin for a way to create a quick launch shortcut feature as part of my installer. For desktop and start menu shortcuts, i see there is "DesktopFolder" and "ProgramMenuDir" properties available but couldn't find a similar one for quick launch shortcut.. any help will be apprec

Re: [WiX-users] Populating Listbox from a custom action

2007-07-19 Thread Alexei
Thanks for all the replies however it's not the inclusion of the listbox table - that is most definitely there. And I can populate it as well. The problem is trying to achieve the behavior corresponding to but by using the wcautil.lib Currently I'm using WcaAddTempReco

[WiX-users] Searching text files

2007-07-19 Thread Craig Ward
I have a global property that I'd like to initialize to a value found within a line of text, in a text file. This file is close to an ini-file format, except that it doesn't have section headers, so I'm not sure that I can use IniFileSearch (the compiler keeps complaining about a null or missing se

[WiX-users] Read out value from Registry and put it as String to a Filename

2007-07-19 Thread Martin Österreicher
Hi everybody! I have been searching for a solution for my problem for a long time, but I still don't know, how to do: I want do read out the Windows System Language Code from the registry. This value can be found at this registry path: HKCU\Control Panel\International\sLanguage E.g. the valu

[WiX-users] Read Value from Registry and use it for the Filename of a File

2007-07-19 Thread oesimartin
Hi everybody! I have been searching for a solution for my problem for a long time, but I still don't know, how to do: I want do read out the Windows System Language Code from the registry. This value can be found at this registry path: HKCU\Control Panel\International\sLanguage E.g. the value