Re: [WiX-users] Determine if file exists on build machine

2009-01-02 Thread Rob Mensching
You're talking about using the WiX Preprocessor. The WiX Preprocessor behaves pretty much the same was as a preprocessor in all the other languages does (in fact the command line is modeled after the cl.exe command line). The WiX.chm has a fair bit to say about how to use the WiX Preprocessor.

Re: [WiX-users] Determine if file exists on build machine

2009-01-02 Thread Wayne
sorry, forgot to mention it is C#, in case it helps also I'm using Wix 3.0.4827 with VS08/Votive. Currently what happens is that the compiler writes out the "output" for the main app and all the plugins (that are set to build at that time) into a single output directory. On your statement: >>

Re: [WiX-users] Determine if file exists on build machine

2009-01-02 Thread Rob Mensching
There is no file searching during the build process. Does the C++ or C# or VB compiler search for things during compile? I think you need some makefile/nant/msbuild logic that passes defines to the compiler to get what you want. -Original Message- From: Wayne [mailto:wjgui...@att.net]

Re: [WiX-users] Log on as service

2009-01-02 Thread Rob Mensching
Eww. -Original Message- From: Brian Rogers [mailto:rogers.br...@gmail.com] Sent: Friday, January 02, 2009 14:52 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Log on as service Hey Peter, I know this isn't an answer, but it might be a place to start fo

Re: [WiX-users] Log on as service

2009-01-02 Thread Rob Mensching
WiX v3 CHM file has this documentation for the User element: LogonAsService YesNoType Indicates whether or not the user can logon as a serivce. User creation can be skipped if all that is desired is to set this access right on the user. -Original Message- From: Peter Oehlert [mailto:poe

[WiX-users] Determine if file exists on build machine

2009-01-02 Thread Wayne
Our application installs a main executable with multiple plugins. Not all customers get all plugins so only plugins we compile into our project output folder we want to include into our installer package. So basically I want to search for whatever plugins exists inside our application output fol

Re: [WiX-users] EmbeddedUI

2009-01-02 Thread Jason Ginchereau
Sorry I can't help much more than the error messages that are already there. There was some problem extracting the embedded UI payload files to that temp directory. That could be a permissions issue or more likely because of a duplicate filename. Please double-check the issue pointed to by the e

Re: [WiX-users] Reading custom record (column type = Formatted) from DTF custom action

2009-01-02 Thread Jason Ginchereau
The formatting process is intentionally not that automatic, because often you want to know what is the unformatted raw string. To get the formatting/substitution to happen you need to to pass the string through Session.Format(). -Original Message- From: Ajay Bhandari [mailto:aja...@micr

Re: [WiX-users] Conditionally executing console program at end of upgrade

2009-01-02 Thread Brian Rogers
Hey Wayne, What you are looking to do is not possible (). I ran into an issue similar to this while looking to conditionally launch a URL according to properties set during installation. The issue is with the execution sequences of Windows Installer. In a UI installation it goes from the UI seque

Re: [WiX-users] Registry Table Error

2009-01-02 Thread John McLean, Jr.
Rob, Same problem but a new year. HAPPY NEW YEAR!!! I did as you suggested. The line that is causing the problem is this. When it is commented out the error goes away. Then the following error appear. ICE38: Component en_US.aff installs to user profile. It must use a registry key under HKC

Re: [WiX-users] Log on as service

2009-01-02 Thread Brian Rogers
Hey Peter, I know this isn't an answer, but it might be a place to start for you. I think you could use the custom action that executes without showing a console window and then put this exe in your installation. I noticed the article said this was for W2K so I don't know if Ntrights.exe will work

[WiX-users] Log on as service

2009-01-02 Thread Peter Oehlert
A common task which I need to perform which I'm certain has been done before is creating new user and granting that user the permission to log on as a service. Specifically I'm installing a new IIS app pool and I'd like to create a specific user for this app so I can lock down my database to allow

[WiX-users] bug in wix new project w/ VSTS & TFS

2009-01-02 Thread Peter Oehlert
It seems that when creating the wix project a file called product.wxs is included in the package and then the name is changed to the name of the project. So calling the project database ultimately has a database.wxs file that is added to source control. Well, for whatever reason I'm seeing that th

[WiX-users] Generating random password for created user

2009-01-02 Thread Peter Oehlert
I'm creating a couple of service accounts with my install to be used as the identity of an IIS App Pool. I'd like to simply create very long securely random passwords (cryptgenrandom or system.security.RandomNumberGenerator). I'm still fairly new to this but I think I need a custom action to set th

[WiX-users] Conditionally executing console program at end of upgrade

2009-01-02 Thread Wayne Roberts
I'm new to WiX and have to modify our current WiX installer, but I'm not sure how to go about it. Here's the problem I have: When the user clicks the finish button at the end of an upgrade, we have a custom action set up to launch a program (to do some db cleanup). What I need to do now is fi

[WiX-users] Unexpected supersedence behavior

2009-01-02 Thread Ryan Parlee
I am trying to understand why some things are not behaving the way I expect. I have the following packages: MNP2000.msi (v.1.40) MNP2000-QFE1.mcp (targeted on v1.40, patch sequence = 1.40.1, supersedence = no) MNP2000-QFE2.mcp (targeted on v1.40, patch sequence = 1.40.2, supersedence

[WiX-users] EmbeddedUI

2009-01-02 Thread Andrew Crum
I'm using the latest build and I have simple Wix project through Votive. I'm using the sample DTF embedded UI project. I've had this working before, but now the MSI fails to load anything. The msiexec log starts with this: SFXCA: Extracting embedded UI to temporary directory: C:\Users\myusernam

[WiX-users] Reading custom record (column type = Formatted) from DTF custom action

2009-01-02 Thread Ajay Bhandari
I have custom table defined which has a column of type "Formatted". As I understand, this column type will allow me to define value consisting of property names etc that will be resolved automatically. ... [MYPROPERTY] ... /// code in CA View myview = session.Database.OpenView("Select * fr

[WiX-users] Permissions setting - Deny Create/Write/Delete for all but installer

2009-01-02 Thread Thomas Harning
I'd like to set permissions on one of my installed directories to deny creating files within it, deleting files (for other than installer... though this isn't as needed), and altering files within it. I'm struggling to get Permission/PermissionEx to work, particularly because it either preve

Re: [WiX-users] Issue Regarding Install on mapped/shared drives.

2009-01-02 Thread Rob Mensching
I think the MSI SDK says you can't install to mapped or substituted drives. -Original Message- From: gaurav.du...@wipro.com [mailto:gaurav.du...@wipro.com] Sent: Friday, January 02, 2009 04:22 To: wix-users@lists.sourceforge.net Subject: [WiX-users] FW: Issue Regarding Install on mapped/sh

Re: [WiX-users] error LGHT0103 !!

2009-01-02 Thread Rob Mensching
The MSI SDK says the Product version's minor version must be less than 256. 999 is greater than 255. -Original Message- From: gaurav.du...@wipro.com [mailto:gaurav.du...@wipro.com] Sent: Friday, January 02, 2009 03:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] error LGHT0103

[WiX-users] FW: Issue Regarding Install on mapped/shared drives.

2009-01-02 Thread gaurav.dutta
Hello Everyone !! I have a WIX .msi setup which i have build from a .wxs file.By default it installs to C:\ProgramFiles\...But if i try to change the installation target directory to a mapped/network drive its giving an error stating that "Installation directory must be on a local hard drive".

[WiX-users] error LGHT0103 !!

2009-01-02 Thread gaurav.dutta
Hello Everyone !! I have a wix .msi setup which i have build customizing the pre_generated .wxs file.I want to set the product version to Version="1.999.999" its showing the follwing error. error CNDL0242 : Invalid product version '1.999.999'. Product version must have a major version less th

Re: [WiX-users] WindowsInstaller.View.Modify() fails on Vista / Server 2008

2009-01-02 Thread Kjartan Þór Kjartansson
Thank you this pointed me in the right direction and I saw that in Vista/Server 2008 I was insering a string where I should be inserting an integer -Original Message- From: Jason Ginchereau [mailto:jason...@microsoft.com] Sent: 31. desember 2008 19:26 To: General discussion for Windows

[WiX-users] Detect installed version

2009-01-02 Thread Tomasz Grobelny
I have such a code in my wix script: (...) (...) NEWAPPFOUND NEWAPPFOUND (...) >From what I have read this should install my application (and so it does) but a second attempt to run