Re: [WiX-users] DTF - SampleCA1 error

2008-10-31 Thread Jason Ginchereau
Somehow your MSI package has a missing or invalid LastSaveTime. What tool are you using to build the MSI package? Also if you right-click on the MSI in explorer, select Properties and view the Details tab, what does it show (if anything) for the "Date modified" field? Regardless, this looks lik

Re: [WiX-users] license agreement in silent installation

2008-10-31 Thread Richard
In article <[EMAIL PROTECTED]>, "s zheng" <[EMAIL PROTECTED]> writes: > We have a requirement that the license agreement needs to be displayed and > accepts y/n when installing from command line using msiexec, or use options > silmilar to LICENSE_AGREEMENT="yes" or EULA=1 > > to skip the t

Re: [WiX-users] license agreement in silent installation

2008-10-31 Thread Richard
In article <[EMAIL PROTECTED]>, shibo <[EMAIL PROTECTED]> writes: > guess that I can control the sequence based on this value. The question is > how to display the license in silent installtion mode if the property is not > set ? You don't. You just fail the install with an error code and

Re: [WiX-users] Upgrade Problem

2008-10-31 Thread Sandeep Gautam (HCL Technologies Ltd)
Under Set Desination Folder UI, I am setting 1 Is there any impact due to this event ? Please help me out. Regards -Sandeep -Original Message- From: Sandeep Gautam (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 2:33 PM To: General discussion for Windows

Re: [WiX-users] DefineConstants and msbuild

2008-10-31 Thread Alex Ivanoff
This is project system limitation: http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/95bf6b1d-9 dae-48ba-b56d-08fa5ae26563 http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/d0610b37-02 fa-43dc-9823-3fa867093707 -Original Message- From: ajay [mailto:[EMAIL PROTECTED

Re: [WiX-users] DTF - SampleCA1 error

2008-10-31 Thread Rob Mensching
Sorry, I don't use DTF. I try to keep my install dependencies to a minimum. -Original Message- From: Dale Quigg [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 14:13 To: 'wix-users@lists.sourceforge.net' Subject: [WiX-users] DTF - SampleCA1 error Hi, I'm new to DTF and also kno

[WiX-users] DTF - SampleCA1 error

2008-10-31 Thread Dale Quigg
Hi, I'm new to DTF and also know little about C#, so this may be a rudimentary question. I compiled the DTF ManagedCA\SampleCAs project and added the binary to my WiX project. Then, I created custom actions and sequenced them after CostFinalize in InstallExecuteSequence. During install, the d

[WiX-users] DefineConstants and msbuild

2008-10-31 Thread ajay
Hi, I am trying to pass in some preprocessor properties from msbuild using the "DefineConstants" property defined in WixProj. a=val1;b=val2;c=val3 1. If I don't escape the ";", then following properties are passed to wixproj (note that b & c are new properties) DefineConstants=a=val1 b=

[WiX-users] Upgrade Problem

2008-10-31 Thread Sandeep Gautam (HCL Technologies Ltd)
HI, I have added one UI to change the destination folder . After adding every thing is working file except upgrade. Earlier upgrade was working fine with UI of chage the destination folder. Please help Regards Sandeep -

Re: [WiX-users] [ wix-Bugs-1992202 ] Allow IIS SiteId to be set

2008-10-31 Thread Neil Sleightholm
2. It works ok for us, we have a hacked v2 that always uses the hashed SiteId (as we know our platform is always IIS6) and don't have any trouble uninstalling (I attached this to the bug report). I think the difference may be that we fail the install if the SiteId currently exists. IIS is example

Re: [WiX-users] Invoking managed console application as Custom Action

2008-10-31 Thread Wilson, Phil
Error 1721 typically means that the program couldn't start for some reason. This is not really about the type of custom action or what's supported because Windows did try to start it. When you say none of them work, does that mean they all return error 1721? When a program runs and fails in th

Re: [WiX-users] [ wix-Bugs-1992202 ] Allow IIS SiteId to be set

2008-10-31 Thread Rob Mensching
1. Was afraid that would be true. I targeted this scenario because that's what the bug was primarily asking for, "Allow IIS SiteId to be set". Be careful what you wish for, you might just get it. 2. It's deterministic because the SiteId doesn't matter, the WebAddress does. Since IIS does

[WiX-users] [ wix-Bugs-1992202 ] Allow IIS SiteId to be set

2008-10-31 Thread Neil Sleightholm
First, thanks for reconsidering this and allowing the SiteId to be set but... Quote: "Skipped doing all the hashing since it isn't deterministic for uninstall. Setting the SiteId should enable the scenario very well. Honestly, SiteId works pretty well in all 'controlled environment' cases." I

Re: [WiX-users] Record ordering not retained when records added via View.Modify

2008-10-31 Thread Nic Barden
Thanks very much Rob you have saved me! (Lucky I mentioned what I was doing with it! :-)) - Re: [WiX-users] Record ordering not retained when records added via View.ModifyFrom: Rob Mensching <[EMAIL PROTECTED]> - 2008-10-31 17:49 Table order is not guaranteed. If you need ordering, the ta

Re: [WiX-users] Invoking managed console application as Custom Action

2008-10-31 Thread ajay
I have tried few approaches (Binary Key, File Key & then type 50). None of them seem to work. I haven't seen any samples of managed (.NET) console app being invoked thru CA. Hence request from this group to confirm if windows installer even supports this feature or not? -Thanks. Ajay cemiles

Re: [WiX-users] Record ordering not retained when records added via View.Modify

2008-10-31 Thread Rob Mensching
Table order is not guaranteed. If you need ordering, the table needs to have a sequence column and the code that reads it needs to group by it. The SqlScripts table happens to have just such a column -Original Message- From: Nic Barden [mailto:[EMAIL PROTECTED] Sent: Friday, October 31

[WiX-users] Record ordering not retained when records added via View.Modify

2008-10-31 Thread Nic Barden
Hi, I have a bug which is being caused by the way the installer database is ordering the records when I add them via View.Modify(ViewModifyMode.InsertTemporary). I have performed a full dump of the table to the log after EVERY record is inserted, and I can see that: There are 2 permanent re

Re: [WiX-users] URGENT - Path to "Program Files" somehow wrongly "updated" to "Program Files (x86)"

2008-10-31 Thread Rob Mensching
That is assuming that your package is marked correctly for 64-bit. -Original Message- From: Rob Mensching [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 10:37 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] URGENT - Path to "Program Files" someh

Re: [WiX-users] Error 2769: Custom Action ConfigureSql did not close 5 MSIHANDLEs.

2008-10-31 Thread Rob Mensching
Hmm, that's bad. I'm not aware of any issues with the CustomActions. Can you debug with pageheap on and try to narrow down the crash? I'll look at the change lists. -Original Message- From: Jason Li Sent: Friday, October 31, 2008 10:23 To: Rob Mensching; General discussion for Windows

Re: [WiX-users] URGENT - Path to "Program Files" somehow wrongly "updated" to "Program Files (x86)"

2008-10-31 Thread Rob Mensching
Problem is probably that the CustomActions are 32-bit and that is causing the paths to get switched over. If so, it's a bug in the CustomAction. -Original Message- From: Nic Barden [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 06:59 To: wix-users@lists.sourceforge.net Subject:

Re: [WiX-users] Preprocessing with foreach statement

2008-10-31 Thread Rob Mensching
Bug. Can you please open it? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 06:44 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Preprocessing with foreach statement Hello, I have run into a problem with the foreach preproc

Re: [WiX-users] SpawnWaitDialog and immediate C# custom action

2008-10-31 Thread Rob Mensching
This has been discussed in the archives. Can't show a dialog from a control action. -Original Message- From: Guillaume Chassigneux [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 03:44 To: wix-users@lists.sourceforge.net Subject: [WiX-users] SpawnWaitDialog and immediate C# cust

Re: [WiX-users] "launch on exit" triggered even when uninstall

2008-10-31 Thread shibo
Thanks for the replies. Installed works. The statement: has no effect, still displaying the checkbox. Though I like the clearer logic it brings. FYI, I am using WiX 2.0. -- View this message in context: http://n2.nabble.com/%22launch-on-exit%22-triggered-even-when-uninstall-tp1437612p143784

Re: [WiX-users] Error 2769: Custom Action ConfigureSql did not close 5 MSIHANDLEs.

2008-10-31 Thread Jason Li
Hey Rob, We tried 2.0.5805. The ConfgureSql custom action seems disappear. But now we have handle leak in InStallSqlData custom action. Any advice? Action start 4:08:26: InstallFiles. Action ended 4:08:26: InstallFiles. Return value 1. Action start 4:08:26: InstallSqlData. DEBUG: Error 2769: Cu

Re: [WiX-users] WiX3 : Duplicate entries in Add/Remove Program files after upgrade

2008-10-31 Thread Wilson, Phil
Assuming the upgrade detection is correct, ProductVersion needs incrementing (not the 4th version digit but a value in the first three). The AllUsers value must also be the same (old and new both per user or per machine). Phil Wilson -Original Message- From: Sébastien Mouren [mailto:[E

Re: [WiX-users] "launch on exit" triggered even when uninstall

2008-10-31 Thread Chad Miles
Look in the Wix chm for... On Fri, Oct 31, 2008 at 12:40 PM, s zheng <[EMAIL PROTECTED]> wrote: > Hi, > > >From the tutorial http://www.tramontana.co.hu/wix/, section 8.6, I have > learnt how to launch an application: > > <*Control* Id="Launch" Type="CheckBox" X="135" Y="120" Width="150" >

Re: [WiX-users] license agreement in silent installation

2008-10-31 Thread Wilson, Phil
Sometimes it works better to display the EULA at first run of the app. This gets around silent install issues, some scenarios where the install is pushed to client machines, and the person that agrees to the EULA is the person who's actually going to use it, not the person who installed it. Does

Re: [WiX-users] "launch on exit" triggered even when uninstall

2008-10-31 Thread Rob Hamflett
Underneath the Text element (still inside the Control element) you want something like: Rob s zheng wrote: > Hi, > >>From the tutorial http://www.tramontana.co.hu/wix/, section 8.6, I have > learnt how to launch an application: > > <*Control* Id="Launch" Type="CheckBox" X="135" Y="120" Widt

Re: [WiX-users] URGENT - Path to "Program Files" somehow wrongly "updated" to "Program Files (x86)"

2008-10-31 Thread Wilson, Phil
...and use the ProgramFiles64Folder property. Phil Wilson -Original Message- From: Michael Owings [mailto:[EMAIL PROTECTED] Sent: Friday, October 31, 2008 7:22 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] URGENT - Path to "Program Files" somehow wr

[WiX-users] "launch on exit" triggered even when uninstall

2008-10-31 Thread s zheng
Hi, >From the tutorial http://www.tramontana.co.hu/wix/, section 8.6, I have learnt how to launch an application: <*Control* Id="Launch" Type="CheckBox" X="135" Y="120" Width="150" Height="17" Property='LAUNCHPRODUCT' CheckBoxValue='1'> <*Text*>Launch [ProductName] However, this la

Re: [WiX-users] Variable Shorcut Name and Upgrading...

2008-10-31 Thread shenlong
Hi Alex... 1st of all, thanks for ur guide... In my previous post, I've put a workaround to remove the shortcut using wildcards. The problem lies in upgrading, so old files are replaced. Just that the shortcuts names do not match as the 1st name is Product 5.0, the new release is Product 5.1. The

Re: [WiX-users] Invoking managed console application as Custom Action

2008-10-31 Thread Chad Miles
Are you installing the console app w/ your package? Why not try a type 18 w/ filekey/@execommand. Would that work in your case? On Thu, Oct 30, 2008 at 6:53 PM, ajay <[EMAIL PROTECTED]> wrote: > > Hi, > I have managed console application which I am trying to invoke from custom > action within W

Re: [WiX-users] URGENT - Path to "Program Files" somehow wrongly "updated" to "Program Files (x86)"

2008-10-31 Thread Michael Owings
32-bit MSI on an X64 platform. Windows Installer does this automatically. I believe you have to build a 64-bit MSI. Nic Barden wrote: > > > Hi all, > > > > I have an urgent requirement to fix an issue to do with the path to the > program files directory. > > I am testing an app that perfo

[WiX-users] URGENT - Path to "Program Files" somehow wrongly "updated" to "Program Files (x86)"

2008-10-31 Thread Nic Barden
Hi all, I have an urgent requirement to fix an issue to do with the path to the program files directory. I am testing an app that performs a database install using the SqlDatabase element. I am passing the paths to the data an log files as properties. However, even when the path has been C

[WiX-users] Preprocessing with foreach statement

2008-10-31 Thread
Hello, I have run into a problem with the foreach preprocessor statement. I get these errors (see Compiler output) when I compile this Wix source code (see Wix source code). What have I done wrong? The code has been adjusted before sending and hence the line numbers are wrong. Thank you, Rado

Re: [WiX-users] Shortcuts created in ALLUSER mode invokes MSI

2008-10-31 Thread Arun Kumar A V
>From what I tested, solutions I presented you allow: -For a per-machine install, create an uninstall shortcut for all the users of a computer wheter it is advertised or not. The main drawback is an orphaned regkey in the deploying user profile if he doesn't remove the apps himself. >> Here i

Re: [WiX-users] WiX3 : Duplicate entries in Add/Remove Program files after upgrade

2008-10-31 Thread Sébastien Mouren
Le 31 octobre 2008 08:18, Guillaume Chassigneux <[EMAIL PROTECTED]> a écrit : > Hi, > > > > I am creating an upgrade package changing ProductVersion, ProductCode and > PackageCode each time I want to update my application. > > I have OnlyDetect = 'no' on the UpgradeVersion node. > > I also have set

[WiX-users] SpawnWaitDialog and immediate C# custom action

2008-10-31 Thread Guillaume Chassigneux
Hi, I have a lengthy C# custom action launched on the Next button of a dialog. I want to display a wait dialog during the long action. I am trying to use SpawnWaitDialog but I do not achieve to make it work… I manage either to display the wait dialog but the action is not launched and installer st

Re: [WiX-users] license agreement in silent installation

2008-10-31 Thread shibo
Thanks. I will try abort instead of display the license. -- View this message in context: http://n2.nabble.com/license-agreement-in-silent-installation-tp1402491p1402589.html Sent from the wix-users mailing list archive at Nabble.com. ---

Re: [WiX-users] license agreement in silent installation

2008-10-31 Thread shibo
shibo wrote: > > Hi, > > We have a requirement that the license agreement needs to be displayed and > accepts y/n when installing from command line using msiexec, or use > options > silmilar to LICENSE_AGREEMENT="yes" or EULA=1 to skip the typing of > "y/n". > > Can anyone help how to achiev

Re: [WiX-users] license agreement in silent installation

2008-10-31 Thread Sébastien Mouren
2008/10/31 s zheng <[EMAIL PROTECTED]>: > Hi, > > We have a requirement that the license agreement needs to be displayed and > accepts y/n when installing from command line using msiexec, or use options > silmilar to LICENSE_AGREEMENT="yes" or EULA=1 > > to skip the typing of "y/n". > > Can anyon

[WiX-users] license agreement in silent installation

2008-10-31 Thread s zheng
Hi, We have a requirement that the license agreement needs to be displayed and accepts y/n when installing from command line using msiexec, or use options silmilar to LICENSE_AGREEMENT="yes" or EULA=1 to skip the typing of "y/n". Can anyone help how to achieve this? Thanks, Shibo

Re: [WiX-users] Shortcuts created in ALLUSER mode invokes MSI

2008-10-31 Thread Sébastien Mouren
2008/10/31 Arun Kumar A V <[EMAIL PROTECTED]>: > Thanks for your reply. > > Yes, I am infact doing the per-machine mode for creating the UnInstall > shortcut . But the problem with HKCU key is, it wouldnt let met do > Advertise="Yes". Without advertise, my uninstall shortcut will not be removed

[WiX-users] wix major upgrade

2008-10-31 Thread kibnet
Hi. When I create msi with UI I can change installation dir during install. When I make major upgrade it is installed in default dir. (WIX3 installation package do the same if I install wix in not default dir) How can I fix this? I guess I have to change manually INSTALLLOCATION dir during upgade?

[WiX-users] WiX3 : Duplicate entries in Add/Remove Program files after upgrade

2008-10-31 Thread Guillaume Chassigneux
Hi, I am creating an upgrade package changing ProductVersion, ProductCode and PackageCode each time I want to update my application. I have OnlyDetect = 'no' on the UpgradeVersion node. I also have set up the InstallExecuteSequence to insert the following My problem is that when I upgra