Re: [WiX-users] how to enforce assembly to be gac'd even when thereisalready a copy in the gac

2006-10-10 Thread Frank Tse
In any case, I did enter a feature request for the ngen action optionally not to fail setup when it encounters error.   https://sourceforge.net/tracker/index.php?func=detail&aid=1574887&group_id=105970&atid=642717   Thanks, Frank   From: Frank Tse [mailto:[EMAIL PROTECTED] Sent:

Re: [WiX-users] WiX v3, VS2005, and Preprocessor Environment Variables

2006-10-10 Thread Peterson, Joel
Hi Cullen.   Thanks for putting my explanation into much better terms.   I’ve been thinking on this a little more, and I’ve decided that every compiler and linker is probably at the mercy of Visual Studio’s environment variables. This can’t be a bug in candle.exe, but more of the way Vi

Re: [WiX-users] WiX v3, VS2005, and Preprocessor Environment Variables

2006-10-10 Thread Cullen Waters
Joel,       I think you may be seeing the difference between user scope environment variables, and system scope env variables.  When you set a user-scope variable, it is set in the instance of cmd.exe that is executing.  If you set a system-scope variable, it isn’t re-read unt

[WiX-users] WiX v3, VS2005, and Preprocessor Environment Variables

2006-10-10 Thread Peterson, Joel
Hi all.   I know that when you open cmd.exe, it loads all of the environment variables and caches them. If you were to navigate to System -> Advanced -> Environment Variables and add a new System variable named “testvar”, typing “cd %testvar%” in the existing cmd.exe wouldn’t work. You’d

Re: [WiX-users] Check if a dll file is present on target machine

2006-10-10 Thread Wilson, Phil
If the file search path is really restricted to the System folder as you say, a file search isn't actually too bad. You said system path in your first post, not system folder, so that may be causing some confusion with the PATH environment variable.   Phil Wilson From: [EMAIL PROTECTED] [

Re: [WiX-users] how to enforce assembly to be gac'd even when thereisalready a copy in the gac

2006-10-10 Thread Wilson, Phil
I'm beginning to sound like an echo in here   What's wrong with http://windowssdk.msdn.microsoft.com/en-us/library/aa372360.aspx  and using FileVersion to force an in-place update of your assembly into the GAC.   If it's good enough for InstallShield ;=) .   http://support.installs

Re: [WiX-users] how to enforce assembly to be gac'd even when thereisalready a copy in the gac

2006-10-10 Thread Frank Tse
I think what I should do is to have a launch condition that if it sees the same assembly already in GAC, the setup should not proceed.  It is because even if setup succeeded, it would not install the DLL in setup but kept the current DLL in GAC.  However I have dug around and don’t know how

Re: [WiX-users] Invoke asp_regiis.exe

2006-10-10 Thread Simon Burgess
Thanks Bob, do you have an idea of the syntax needed were I to do that as obviously here the value of one property is required for the DirectorySearch’s path   From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: 07 October 2006 03:54 To: Simon Burgess Cc: wix-users@lists.sourceforge

Re: [WiX-users] Problems with a directory

2006-10-10 Thread Rob Mensching
I don't think it wouldn't be an "Error" if installing only per-machine. IIRC< the ICE degrades itself to Warning in that case. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick Sent: Tuesday, October 10, 2006 6:33 AM To: Torsten Rudnick; wix-u

Re: [WiX-users] how to enforce assembly to be gac'd even when thereisalready a copy in the gac

2006-10-10 Thread Wilson, Phil
There is the FileVersion way to do an in-place update of a GAC assembly. Last bullet here:   http://windowssdk.msdn.microsoft.com/en-us/library/aa372360.aspx   and an AssemblyFileVersion spec is the way you update the file version of the assembly without changing assembly version. File version

Re: [WiX-users] Create User and Set Permissions

2006-10-10 Thread Douglas Watts
Mike,   Thanks for the reply.  I have to apologize but I still don’t quite get this.  I don’t understand how to set permissions for multiple directories for one user.  Will it matter where I place the component that creates the users (i.e – under which directory)?  Will I have simply have

Re: [WiX-users] Create User and Set Permissions

2006-10-10 Thread Mike Dimmick
The element references user accounts by name. It's fine to reference a user you're creating under a component because the ConfigureUsers custom action (which schedules the CreateUser action) is scheduled before the InstallFiles action and therefore the user should be created before any file

Re: [WiX-users] WiX UI Control Repository?

2006-10-10 Thread Peterson, Joel
Hi Bob, David.   I’m not looking for any dialogs in particular, but sometimes you don’t know what you can use until you see it. I’ve implemented my own, and was curious what others have done with WiX UI and also if there was a cookie-cutter wizard template that we should be adhering to.

[WiX-users] Create User and Set Permissions

2006-10-10 Thread Douglas Watts
I need to create a new local system user and set permissions for this user on multiple directories.  I know that I can create the user as follows:                However, this component exists under a specific directory element.  I need to set permissions for this new user for se

Re: [WiX-users] how to enforce assembly to be gac'd even when thereisalready a copy in the gac

2006-10-10 Thread Bob Arnson
Frank Tse wrote: The current behavior is that when the dll was not put in GAC due to the same version already in GAC, the ngen action didn’t happen.  I have tried adding a custom action that calls ngen.exe as below. Please don't do it that way. As written, you don't handle

Re: [WiX-users] Check if a dll file is present on target machine

2006-10-10 Thread Bob Arnson
Suraj Barkale wrote: > Is there a custom action which lets me call a function in Kernel32.dll > or any other preinstalled dll and use returned value for condition? Not that I know of. -- sig://boB http://bobs.org - Take

Re: [WiX-users] Changing fonts in prepared dialogs

2006-10-10 Thread Bob Arnson
Torsten Rudnick wrote: > I am using inside of my WiX project. It works > great with a small mistake. The title on the welcome dialog and on the > exit dialog are not bold. Do I have the chance to change this or do I > have to wait until it fixed? > You can change the localization strings

Re: [WiX-users] Problems with a directory

2006-10-10 Thread Mike Dimmick
The documentation for ICE64 says that this has something to do with roaming profiles. It can probably be ignored if you're only doing per-machine installations - you can suppress the error or warning with -sice:ICE64. If not doing per-machine installations, you should put a element under the comp

[WiX-users] Changing fonts in prepared dialogs

2006-10-10 Thread Torsten Rudnick
I am using inside of my WiX project. It works great with a small mistake. The title on the welcome dialog and on the exit dialog are not bold. Do I have the chance to change this or do I have to wait until it fixed? - Ta

Re: [WiX-users] create transformations, Orca alternatives

2006-10-10 Thread Alexander Gnauck
Tony Hoyle wrote: >> took a look at this script. It compares 2 MSI installations. But i have >> only 1 MSI file and want to create a transform which sets some >> properties (INSTALLDIR, ALLUSERS, SERIAL etc...) >> > That's how transforms work unfortunately.. they are used to turn one MSI > into a

Re: [WiX-users] create transformations, Orca alternatives

2006-10-10 Thread Tony Hoyle
Alexander Gnauck wrote: > took a look at this script. It compares 2 MSI installations. But i have > only 1 MSI file and want to create a transform which sets some > properties (INSTALLDIR, ALLUSERS, SERIAL etc...) > That's how transforms work unfortunately.. they are used to turn one MSI into a

[WiX-users] Problems with a directory

2006-10-10 Thread Torsten Rudnick
Today I tried to switch to WiX v3 but I get some errors. What is wrong in the next few lines and how can I fix it? I get always the error ICE64. ICE64: The directory ProgramMenuDir is in the user profile but is not listed in the RemoveFile table. ---

Re: [WiX-users] bug: Tallow generates invalid Registry/@Type andRegistry/@Value

2006-10-10 Thread Kirill Kovalenko
Hello Mike, Are you current Tallow maintainer? Should I open a bug at sourceforge for this issue? > Out of curiosity, why are you using a subkey rather than a named value? I'm not sure, that was just someone else's decision. It's kind of legacy code. Sincerely yours, Kirill Kovalenko Produc

Re: [WiX-users] how to enforce assembly to be gac'd even when thereisalready a copy in the gac

2006-10-10 Thread Frank Tse
Thanks, I misunderstood that putting into the GAC was done by Netfx extension.   So with the following element: