Re: [WiX-users] How Should I call dark to decouple msi

2007-08-01 Thread Mark Line
dark.exe /? prints the help or dark.exe pathtomsi\mymsi.msi pathtosavexml\myxml.xml - Original Message - From: Aashish Raina To: Bob Arnson Cc: wix-users@lists.sourceforge.net Sent: Thursday, August 02, 2007 7:22 AM Subject: [WiX-users] How Should I call dark to decoup

Re: [WiX-users] macro/property for detecting debug/release from Votive

2007-08-01 Thread Justin Rockwood
You can do one of two things: 1) If you're deploying DLLs that you build within your Visual Studio solution, then you can use the project references to do it. Right mouse click on your Votive project and click "Add Reference". Then add a Project Reference to the DLL that you want to deploy

[WiX-users] How Should I call dark to decouple msi

2007-08-01 Thread Aashish Raina
DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to rea

Re: [WiX-users] automatic uninstallation of previous version

2007-08-01 Thread Bob Arnson
Adam Langley wrote: Can anyone tell me if there is a simple XML element I can add to my WXS file to automatically uninstall previous versions of a product, before executing the install procedure? Yes, it's called a major upgrade. See the MSI SDK doc for details and http://www.tramontana.c

Re: [WiX-users] How to distinguish between different editions of Vista?

2007-08-01 Thread Bob Arnson
Jared Hughes wrote: > Our product is only to be installed on Vista Business Edition, not on any > other version, and I want to know if there's functionality native to WiX > that can be used to detect the edition of Vista, or if I will need to write > a CustomAction? > You can try one of the Msi

Re: [WiX-users] error LGHT0103

2007-08-01 Thread Bob Arnson
Patrice Lamarche wrote: I was using wix yesterday and some how it started to give me this error? But I don't use compression anyone have a clue? C:\delivery\Dev\wix_public\src\ext\uiextension\wixlib\Common.wxs(15) : error LGHT0103 : The system cannot find the file 'C:\temp\cp

Re: [WiX-users] Undefined preprocessor variable

2007-08-01 Thread Bob Arnson
[EMAIL PROTECTED] wrote: When I try to compile some of the wix 3 ui files, I get errors like Just curious: What are you trying to do? If you're rebuilding the entire UI extension, you need to pass the same arguments as src\ext\UIExtension\UIExtension.build. Common.wxs(15) : error CNDL0150

Re: [WiX-users] How to automate download and install feature in WIX?

2007-08-01 Thread Bob Arnson
Naresh Krishna Kumar K wrote: > I have written a Custom Action DLL using Visual C++. MSI will take the user > to the download page of the software if the particular software is not > installed in the user machine while installing the MSI. Is it possible to > download and install the particular soft

Re: [WiX-users] backing up the existing files while installing

2007-08-01 Thread Bob Arnson
Balaji Nidadavolu wrote: *_Requirement(in WIX)_** : We are currently adding a component to the existing software. While installing the component, we need to take a backup of 2 files since they will be replaced with their latest versions. While uninstalling the component, we need to replace th

Re: [WiX-users] File Paths and Fragments

2007-08-01 Thread Bob Arnson
Brian Poploskie wrote: I switched to WiX 3.0.2925.0 and still had the same problem. Strangely enough I broke it down to a really small test case and it worked fine. This was a direct copy and paste of the custom actions/files/and scheduling. They're both in approximate the same place in t

[WiX-users] How to distinguish between different editions of Vista?

2007-08-01 Thread Jared Hughes
Our product is only to be installed on Vista Business Edition, not on any other version, and I want to know if there's functionality native to WiX that can be used to detect the edition of Vista, or if I will need to write a CustomAction? Thanks for your time! -- View this message in context:

[WiX-users] macro/property for detecting debug/release from Votive

2007-08-01 Thread Adam Langley
I am using Votive in Visual Studio 2005. Can anyone tell me how I can configure my WXS file to pick up DLLS to be deployed (with the tag) from bin\Debug if the build configuration is set to Debug, and bin\Release if its Release? Thanks - Adam Secon NZ Ltd. A1/400 Rosedale Roa

[WiX-users] automatic uninstallation of previous version

2007-08-01 Thread Adam Langley
Hi guys, Can anyone tell me if there is a simple XML element I can add to my WXS file to automatically uninstall previous versions of a product, before executing the install procedure? I would like the user not to have to go to 'add/remove programs'... Thanks - Adam Secon

Re: [WiX-users] Undefined preprocessor variable

2007-08-01 Thread Mark Line
are you using code from using dark.exe? think I've seen var $(var.bannerBmp) when I've decompiled something before... if you just store the banner bitmap in a subdir called \Bitmaps\bannrbmp.bmp you should be ok you could also define your own bitmap in wix and reference that instead Hope

[WiX-users] Undefined preprocessor variable

2007-08-01 Thread Chris.Rowland
When I try to compile some of the wix 3 ui files, I get errors like Common.wxs(15) : error CNDL0150 : Undefined preprocessor variable '$(var.bannerBmp)'. Is it possible to pass values for variables on the command line? Ex: "C:/Program Files/Windows Installer XML v3"/bin/candle ./u

[WiX-users] Project Output

2007-08-01 Thread Quattro IV
Hi, I need help! How can I assign the output of a project in a solution to the source of a file? In v2.0 you could use a preprocessor directive in the form $(var..TargetPath) Any help or suggestions would be greatly appreciated. Thanks ---

[WiX-users] uninstall difficulties with XmlFile

2007-08-01 Thread Joe Montgomery
Hi everybody. I am just starting with WIX, and in general I've found WIX to be very powerful and easy to use. Unfortunately, the XML configuration actions in WIX are not as well documented as the rest of WIX, and I've hit a lot of obstacles when trying to use them. My current stumbling block wit

[WiX-users] How to automate download and install feature in WIX?

2007-08-01 Thread Naresh Krishna Kumar K
Hi, I have written a Custom Action DLL using Visual C++. MSI will take the user to the download page of the software if the particular software is not installed in the user machine while installing the MSI. Is it possible to download and install the particular software in microsoft download cente

[WiX-users] possible to configure WebLog location?

2007-08-01 Thread Nadia Jirniaguina
Is it possible to change the default location for a WebLog of a WebSite? It looks like WebLog element does not allow this. I was planning to use WebLog Type=W3C Thanks - This SF.net email is sponsored by: Splunk Inc. Still

Re: [WiX-users] passing parameters through custom actions in C#

2007-08-01 Thread Wilson, Phil
MSI supports Win32 Dlls, not C# assembly calls. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Balaji Nidadavolu Sent: Wednesday, August 01, 2007 6:17 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] passing parameters t

Re: [WiX-users] custom action VS2005

2007-08-01 Thread John Hall
Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action editOmniCfgFile, entry: UpdateCfg, library: C:\WINDOWS\Installer\MSI9F6.tmp MSI (s) (24:F8)

Re: [WiX-users] custom action VS2005

2007-08-01 Thread Mark Line
Whoops sorry i get the following error in my install log: Error 1723. There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor. Action editOmniCfgFile, entry: UpdateCfg, library: C:\WI

[WiX-users] custom action VS2005

2007-08-01 Thread Mark Line
I'm having problems with creating a custom install, i'm creating the very simple DLL using this code in VS2005 #include "stdafx.h" #ifdef _MANAGED #pragma managed(push, off) #endif BOOL APIENTRY DllMain( HMODULE hModule,DWORD ul_reason_for_call,LPVOID lpReserved) { return TRUE; } #i

Re: [WiX-users] File Paths and Fragments

2007-08-01 Thread Brian Poploskie
I switched to WiX 3.0.2925.0 and still had the same problem. Strangely enough I broke it down to a really small test case and it worked fine. This was a direct copy and paste of the custom actions/files/and scheduling. They're both in approximate the same place in the install sequence 4001 to 401

Re: [WiX-users] error LGHT0103

2007-08-01 Thread Patrice Lamarche
I forgot to add, I'm using this version 3.0.3127.0 Pat De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Patrice Lamarche Envoyé : 1 août 2007 10:55 À : wix-users@lists.sourceforge.net Objet : [WiX-users] error LGHT0103 Hello,

[WiX-users] error LGHT0103

2007-08-01 Thread Patrice Lamarche
Hello, I was using wix yesterday and some how it started to give me this error? But I don't use compression anyone have a clue? C:\delivery\Dev\wix_public\src\ext\uiextension\wixlib\Common.wxs(15) : error LGHT0103 : The system cannot find the file 'C:\temp\cpo7dsz2\cab_0_Setup\2'.

Re: [WiX-users] backing up the existing files while installing

2007-08-01 Thread Arnette, Bill
We tried to do this with our configuration files. The issue we faced was that because RemoveExistingProducts came early on, the old file was removed with the old product, but we wanted it remain untouched by the installer during an upgrade or if the user manually uninstalled the application.

[WiX-users] backing up the existing files while installing

2007-08-01 Thread Balaji Nidadavolu
Hi, Our current requirement is something like this. Requirement(in WIX) : We are currently adding a component to the existing software. While installing the component, we need to take a backup of 2 files since they will be replaced with their latest versions. While uninstalling

[WiX-users] passing parameters through custom actions in C#

2007-08-01 Thread Balaji Nidadavolu
Hi, I am trying to pass parameters from WIX to C# code, but I am not able to do it properly. To code that I have written on WIX side is: The code I have written in C# and compiled as a DLL is : using System; using System.Text; using System.Runtime.InteropService

Re: [WiX-users] How to update PATH environment variable in WiX?

2007-08-01 Thread Tony Hoyle
Brent B. Powers wrote: > Werner, Harvey D wrote: >> I need to update the PATH environment variable to prepend the value of >> "[TARGETDIR]\bin" during our product installation. >> > You need > > Action='set' > > below, and I believe you have to do a CA to get/manipulate the value to set. > >

Re: [WiX-users] Different action on uninstall

2007-08-01 Thread Rob Hamflett
The Installed property will tell you if the product is installed or not. So a Custom Action with a condition of 'NOT Installed' will only be trigger on install. A condition of 'Installed' is obviously the opposite to this, but it's also true for repairs and maintenance. If you need to tell

Re: [WiX-users] Different action on uninstall

2007-08-01 Thread Benas
I need some property to detect if it's installation or uninstallation process 2007/8/1, Benas <[EMAIL PROTECTED]>: > > During installation I'm calling extern C function in my cpp dll. > > But during uninstallation i want to call other function from the same dll > - how can i do that? > > > Thanks

[WiX-users] Different action on uninstall

2007-08-01 Thread Benas
During installation I'm calling extern C function in my cpp dll. But during uninstallation i want to call other function from the same dll - how can i do that? Thanks for answers, Benas - This SF.net email is sponsored by: S