[WiX-users] ODBC Data source

2007-07-05 Thread Rhys Goodwin
Hi, I'd like to create a very simple MSI that installs (configures) a system SQL DSN. I found this snippet in the mailing list archives which seems to work ok but I think there should be a lot more properties that could be configured. I can't seem to find a full WIX syntax reference. I looked at

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

2007-07-05 Thread Man, Shirley
Thanks, Bob. The MSI standard is to let the uninstall proceed and require a reboot. That means I will need to set some property to force a reboot then? The default behavior doesn't prompt user about the reboot. TIA! From: Bob Arnson [mailto:[EMAIL

[WiX-users] DisableRegistryReflection

2007-07-05 Thread rohan bhattacharjee
Hello, I am using WiX 2.0 and I want to add this attribute DisableRegistryReflection=yes to one of my Components (that populates registry keys to the x64 hive using Win64=yes). I'm currently building the WiX on XP 32-bit ... but this MSI will eventually run on X64 Vista. When I compile

[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

[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.

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

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] 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

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

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 |

[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 =

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: Thursday,

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

[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

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 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 confused

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

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 you

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

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 I

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

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

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] DisableRegistryReflection

2007-07-05 Thread Bob Arnson
rohan bhattacharjee wrote: When I compile (candle), it repors me the error - 3d:\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 old.

[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

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. File Id=lodctr.ini DiskId=1 Name=applod.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 it

[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

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:

[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

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

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

[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:

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

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] 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

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 app 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

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

[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: Component

[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