[WiX-users] Support for Build type in WIX

2007-07-05 Thread yapuro
Hi, I created a new WIX project in VS 2005. I want to pickup files of a windows application project as the source files. But is there a property\variable i can directly use to get the build type('Debug' or 'Release'). For example i want to get the files inside 'RenderingService\bin\Debug' or '

[WiX-users] Annoying RemoveFolders problem

2007-07-05 Thread Pierson Lee (Volt)
I'm at my wit's end trying to figure out this RemoveFolders problem so any help will be greatly appreciated. I am attempting to remove 2 folders that I created on install ONLY if all 3 registry keys I'm checking for do not exist. My Component for removeFolders looks like this: (NOT (KEY1_EXIS

Re: [WiX-users] How to debug a CustomAction 1723 error ondll invocation?

2007-07-05 Thread Carter Sanders
Thanks for your help, Rob. On 7/5/07, Rob Mensching <[EMAIL PROTECTED]> wrote: Please keep the mailing list on the line… Sorry about that - switched accounts and dropped the CC accidentally. You have to call it before RemoveFiles executes. Or you have to remove the dependency. I recom

Re: [WiX-users] Performance counters not getting uninstalled properly

2007-07-05 Thread Amol
Well, the interesting thing is that I can use my installer to install the app, and then manually do an "unlodctr " and it cleans out the counters perfectly. Mike Dimmick-2 wrote: > > The Perflib key isn't very well designed in Windows; the very long > REG_MULTI_SZ values are hard to mainta

Re: [WiX-users] Help localizing MSI

2007-07-05 Thread Bob Arnson
sandy wrote: I've created an msi and I want it to choose the dialog string based on the installed OS culture. For example if a user runs it on a german OS it should display the German Dialog and on a french OS it should display the french dialog. The dialog will remain same but I want to be abl

Re: [WiX-users] Patch Problem

2007-07-05 Thread Bob Arnson
Petrut Andrei wrote: ERROR: The Last Error Received is: 1: 2223 2: F:\yyy\old\CRMWebSetup-2.0.msi 3: 4: 2223 is documented in the MSI SDK: Database: [2]. Databases are the same. No transform generated. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] Disallow uninstall if file in use

2007-07-05 Thread Bob Arnson
Man, Shirley wrote: I see. I notice the temporary file (which was originally the running exe) gets deleted on next reboot, but the problem is, its parent directory (in my case, the INSTALLDIR) is not. Is this a known MSI issue? I don't know; I've never seen that before. -- sig://boB http://j

[WiX-users] Patch Problem

2007-07-05 Thread Petrut Andrei
Hello guys. I got stucked with this patch problem and I can't find any solution to solve it. This is the log file that was created after I ran this command : Msimsp.exe -s Patch.pcp -p Patch.msp -l Patch.log * Log starting: 2007-07-05 16:21:38 * INFO: Using Pcp Path: F:\msCRM\msCRMWebS

Re: [WiX-users] Performance counters not getting uninstalled properly

2007-07-05 Thread Mike Dimmick
The Perflib key isn't very well designed in Windows; the very long REG_MULTI_SZ values are hard to maintain and you actually can't readily extract particular strings from the middle of the long string. In practice all you can do is append the new counters to the end, meaning that the Last Counter v

Re: [WiX-users] Feature Conditionals and Silent (passive) install

2007-07-05 Thread Mike Dimmick
The Windows Installer documentation states that feature conditions are evaluated by the CostFinalize action. This action should be scheduled in both the InstallUISequence (for Full or Reduced UI) and the InstallExecuteSequence (for Basic or No UI). WiX automatically sequences CostFinalize appropria

[WiX-users] jet 4.0 msm's

2007-07-05 Thread koawmfot
microsoft provides an msm for MDAC, and the instructions on how to update it, here: http://support.microsoft.com/kb/320788. i atcually used that, and converted to a wixlib, and was hoping to do the same for JET. i was wondering if anyone had anything similar for JET 4.0 SP8. i know there are wi

[WiX-users] Feature Conditionals and Silent (passive) install

2007-07-05 Thread Pierson Lee (Volt)
I've created an MSI that, through a UI, will determine from a public property that is selected through a radio button, which feature to install. It uses the feature conditional that changes the level of the feature. If I set the same property from a command-line, it doesn't evaluate and both fe

Re: [WiX-users] Disallow uninstall if file in use

2007-07-05 Thread Man, Shirley
I see. I notice the temporary file (which was originally the running exe) gets deleted on next reboot, but the problem is, its parent directory (in my case, the INSTALLDIR) is not. Is this a known MSI issue? From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Thur

Re: [WiX-users] Performance counters not getting uninstalled properly

2007-07-05 Thread Amol
Amol wrote: > > Hi, > > I am using the PerfCounter element to install perfcounters for a service. > >DiskId="1" > Name="applod.ini" > LongName="app_lodctr.ini" >

[WiX-users] [Off-Topic] Moderation

2007-07-05 Thread DE�K JAHN, G�bor
On Thu, 05 Jul 2007 10:22:09 +0100, Tony Hoyle wrote: Tony, > A web forum is a bad idea.. I'd probably just forget about posting > as it's a hassle having to different sites rather than just open my > email client every hour or so. I can only second that. I stop monitoring this list the minute i

[WiX-users] Performance counters not getting uninstalled properly

2007-07-05 Thread Amol
Hi, I am using the PerfCounter element to install perfcounters for a service. This File element is under a Component that also creates the registry keys for the app in the appropriate places. How

[WiX-users] Help localizing MSI

2007-07-05 Thread sandy
Hi, I've created an msi and I want it to choose the dialog string based on the installed OS culture. For example if a user runs it on a german OS it should display the German Dialog and on a french OS it should display the french dialog. The dialog will remain same but I want to be able to chang

Re: [WiX-users] DisableRegistryReflection

2007-07-05 Thread Bob Arnson
rohan bhattacharjee wrote: > When I compile (candle), it repors me the error - > 3>d:\foo\bar.wxi(306) : error CNDL0004 : The Component element contains an > unexpected attribute 'DisableRegistryReflection'. > > Any idea why this is not working ?? > The version of WiX v2 you're using is too o

Re: [WiX-users] Installing a Duplicate Component

2007-07-05 Thread Bob Arnson
Michael Bond wrote: > I would like to reduce the copy and pasting, and changing of Ids, in > my wxs and essentially install the same set of files 3 times in 3 > separate locations but using one common Component or Merge Module. So > far light chokes (...error LGHT0091 : Duplicate symbol 'WixMerg

Re: [WiX-users] Error "Access is denied" when using light version 3.0.2925.0

2007-07-05 Thread Bob Arnson
Mokrani Abdeslam wrote: > Updating file information. > light.exe : error LGHT0216 : An unexpected Win32 exception with error > code 0x5 occurred: Access is denied That's usually caused by real-time virus scanners locking temporary files. Exclude your build and temp trees from real-time scanning.

Re: [WiX-users] Previous Install Folder and Update

2007-07-05 Thread Bob Arnson
Anton Filippov wrote: > How I can set some variables for uninstall. I have one error in custom > action and default uninstallation always finished with error (custom > action don't return ERROR_SUCCESS value to install and installer > interpret this as error). But if I set some property and unin

Re: [WiX-users] Disallow uninstall if file in use

2007-07-05 Thread Bob Arnson
Man, Shirley wrote: That means I will need to set some property to force a reboot then? The default behavior doesn't prompt user about the reboot. If MSI can't replace a file that's in use, it schedules the replacement to happen at next boot. See the MSI SDK doc for the ReplacedInUseFiles Pro

Re: [WiX-users] Problem with Uninstall ( or problem with properties...)

2007-07-05 Thread md5hans
I just want to uninstall the installation the problematic installer so I will follow your instructions. Thanks a lot for the help! /Hans md5hans wrote: > By the way, is there a way to ""manually" edit the uninstall information? > I > have after my tests a couple of installations on my PC that

[WiX-users] Installing a Duplicate Component

2007-07-05 Thread Michael Bond
Hi, I have a situation where I am building an installer for 3 seperate, but related, products that share a set of files (a mixture of text files, DLLS and subfolders so setting a path var and using a shared directory will not work). I would like to reduce the copy and pasting, and changing of Id

Re: [WiX-users] InstallExecuteSequence

2007-07-05 Thread fiordean dacian
Hi Bala, I can't see any column from InstallExecuteSequence table refering to language stuff. Try and save your msi under a different name after modyfing the sequence numbers for those actions. Also, you might want to decompile your msi into a wxs file. For this you can use dark.exe (distribu

Re: [WiX-users] Problem with Uninstall ( or problem with properties...)

2007-07-05 Thread Rob Hamflett
md5hans wrote: > By the way, is there a way to ""manually" edit the uninstall information? I > have after my tests a couple of installations on my PC that I cant uninstall > due to my properties. Do you mean you want to be able to change how the uninstallation gets run for your installers, or yo

Re: [WiX-users] Problem with Uninstall ( or problem with properties...)

2007-07-05 Thread md5hans
Hi! Thanks for the quick response! I did a little test, if I remove the property declarations but supplied the input parameteras anyway it works on both install and uninstall! and I get no warning from "Light". I have to admit I have only worked with WIX a couple of weeks and I get a bit confuse

Re: [WiX-users] Problem with FileSearch element (WiX 2.0)

2007-07-05 Thread Oliver Schneider
Thanks for your replies, this actually gave some insight and helped to get find a solution. Bob Arnson wrote: > Mike Dimmick wrote: >> DirectorySearch is performed by the AppSearch action. You have to have >> all >> your properties in place before it runs, or nest the searches >> appropriately. >>

Re: [WiX-users] Problem with Uninstall ( or problem with properties...)

2007-07-05 Thread Rob Hamflett
The problem is that the properties don't get remembered, so they're never set on uninstall. You need to create components to write them into the registry on install. You can the use RegistrySearch to read the values on uninstall. Rob md5hans wrote: > Hi! > > I'm developing an application t

Re: [WiX-users] InstallExecuteSequence

2007-07-05 Thread Balakrishna.BK
Hi Dacian, I modified InstallExecuteSequence table in the order I wanted it to be, but still during installation it doesnt follow the order. I believe I am missing something basic. Also remember that this is a multi-language msi. As I already told, I am modifying the existing msi u

[WiX-users] Problem with Uninstall ( or problem with properties...)

2007-07-05 Thread md5hans
Hi! I'm developing an application that creates a WIX-script depending on user input. I have run in to a problem, I need to supply some paths (input variables) to the msi-package when its executed. I have tried to do this with the properties PACKAGE_PATH and CATEGORY_PATH, I also want to control i

Re: [WiX-users] InstallExecuteSequence

2007-07-05 Thread fiordean dacian
You migh check with Orca that InstallExecuteSequence has the actions in the order you want them. Why don't you use "After" and "Before" attributes instead of "Sequence"? Dacian - Original Message From: Balakrishna.BK <[EMAIL PROTECTED]> To: wix-users@lists.sourceforge.net Sent: Thurs

[WiX-users] InstallExecuteSequence

2007-07-05 Thread Balakrishna.BK
Hi, I am newbie to msi technology and I have the following question in InstallExecutesequence. I am editing my existing msi file using orca and want to swap sequence numbers of appsearch and launchcondion actual Appsearch = 400 as sequence number and Launchcondition = 1

Re: [WiX-users] File Search that returns a folder path

2007-07-05 Thread martin lavelle
This simple example returns the folder path of notepad.exe to the property NOTEPAD_FOLDER (If it finds it). Appsearch Table Property | Signature NOTEPAD_FOLDER | NotepadFolderSignature DrLocator Table Signature | P

Re: [WiX-users] [Off-Topic] Moderation

2007-07-05 Thread Rob Hamflett
There's already a newsgroup. The mailing list is mirrored in the gmane.comp.windows.devel.wix.user newsgroup on news.gmane.org. There used to be an SSH version at some point, but it started giving me connection problems at one point, and I changed down to the normal one. I can't remember wh

Re: [WiX-users] Installing dotnet framework along with your MSI package

2007-07-05 Thread John Hall
I've been looking at bootstrappers recently, and I settled on dotNetInstaller, an open source program at http://www.devage.com/Wiki/ViewArticle.aspx?name=dotnetinstaller. It will install as many prerequisites as you need. It is well written and easy to modify (despite most of the comments being i

Re: [WiX-users] Previous Install Folder and Update

2007-07-05 Thread Anton Filippov
Thanks for answer, Bob. How I can set some variables for uninstall. I have one error in custom action and default uninstallation always finished with error (custom action don't return ERROR_SUCCESS value to install and installer interpret this as error). But if I set some property and uninstall -

Re: [WiX-users] [Off-Topic] Moderation

2007-07-05 Thread Tony Hoyle
Bob Arnson wrote: > A way with less work would be to allow only members to send to the list. > But that means people have to sign up first -- that might be more > annoying... > I have this with a simple script that emails nonmembers for confirmation, so a member gets to post immidiately, a non

[WiX-users] Error "Access is denied" when using light version 3.0.2925.0

2007-07-05 Thread Mokrani Abdeslam
I'am trying to link some wixobj and wxl files with the light tool (version 3.0.2925.0) under vista 64. The current directory (where light is executed and where the resulting msi should be written) is "Full control" for "Everyone". Light exits with the error message below, no msi file is generated.

[WiX-users] Sharing data between custom actions

2007-07-05 Thread Arnold Layne
Hi all, I have several (managed) custom actions which are in different dlls. I would like to share some data strutures between them. What is the best practice to do this? tx, -al - This SF.net email is sponsored by DB2 Expre

Re: [WiX-users] ODBC Data source

2007-07-05 Thread Mike Dimmick
You can always find up to date documentation with your WiX install, under doc\WiX.chm. WiX repurposes the Property element to define properties of the ODBC data source. There is no complete reference in WiX's documentation because the list of properties supported is defined by the ODBC driver in us