Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-22 Thread Neil Sleightholm
Do you have an example of creating a custom table with the component reference? Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com mailto:n...@x2systems.com From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Sat 21/02/2009 22:27 To: General

[WiX-users] Switching from a perUser to perMachine install during upgrade

2009-02-22 Thread Dave Wright
Our application is currently installed as perUser, however we want to switch to perMachine in the next upgrade. The problem is that FindRelatedProducts/RemoveExistingProducts does not appear to find the previous (perUser) install when installing the new (perMachine) install, even when installing

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-22 Thread Thomas S. Trias
While I knew that the Component_ column was a reference, I never realized that the trailing underscore was a naming convention that indicates a reference to another table. That is really good to know. Thanks! Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.com/

[WiX-users] adding a table to a .wxs file

2009-02-22 Thread Sean Farrow
Hi: What is the best way of adding a table to a .wxs file. There doesn't appear to be anything in the schema--although I've probably mised something. Any help appreciated. Sean. -- Open Source Business Conference (OSBC),

Re: [WiX-users] adding a table to a .wxs file

2009-02-22 Thread Brian Rogers
Hey Sean, This is probably what you are looking for. http://wix.sourceforge.net/manual-wix3/wix_xsd_customtable.htm Thanks, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Sun, Feb 22, 2009 at 9:31 AM, Sean Farrow sean.far...@seanfarrow.co.ukwrote: Hi:

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-22 Thread Bob Arnson
Neil Sleightholm wrote: Do you have an example of creating a custom table with the component reference? It's just another column with a string. So from ext\UtilExtension\wixext\UtilCompiler.cs: Row row = core.CreateRow(sourceLineNumbers, WixInternetShortcut); row[0] = shortcutId; row[1]

Re: [WiX-users] Switching from a perUser to perMachine install during upgrade

2009-02-22 Thread Bob Arnson
Dave Wright wrote: Our application is currently installed as perUser, however we want to switch to perMachine in the next upgrade. There's no support in MSI to do cross-context upgrades. The only way to do it is from a bootstrapper/chainer using the MsiEnumRelatedProducts function, which

Re: [WiX-users] Switching from a perUser to perMachine install during upgrade

2009-02-22 Thread Dave Wright
Thanks, I was afraid of that. I'll look into using MsiEnumRelatedProducts. Would the correct procedure be to then simply call: MsiConfigureProduct(product, INSTALLLEVEL_DEFAULT, INSTALLSTATE_ABSENT) ..in order to uninstall the previous product prior to install? -Dave Wright On Sun, Feb 22, 2009

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-22 Thread Christopher Painter
I went for a long time without knowing that also. A lot of the msi direct editors ( such as InstallShield and ORCA) have such a horrible UI that you can't even see the _ character in the grid view of the table data. You have to do an adjust schema for it to become obvious. It's not until you

Re: [WiX-users] Metabase read immediately after AppSearch and Vista SP1

2009-02-22 Thread Thomas S. Trias
Sigh. If I schedule the action deferred, is there any good way to propagate the results to the directory setting? I don't think that there is... Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.com/ Original Message Subject: Re: [WiX-users]

[WiX-users] Any pointers on the syntax i should one use to enable deployment of a gac dll required dll.config file, e.g. gac dll's that make use of the setting designer/api runtime settings?

2009-02-22 Thread Robert O'Brien
Any pointers on the syntax i should one use to enable deployment of a gac dll required dll.config file, e.g. gac dll's that make use of the setting designer/api runtime settings? I tried the following two options and the first doesn't work because it seems the file copy to the gac of the

Re: [WiX-users] DTF - install, rollback and uninstall

2009-02-22 Thread Neil Sleightholm
Chris, I found the example but in the version I had it didn't contain a Component_ column. I think I have information now to figure out how to structure a CA. Thanks to everyone for their help. Neil -Original Message- From: Christopher Painter [mailto:chr...@deploymentengineering.com]

[WiX-users] How to execute SqlString only during a rollback of a product upgrade

2009-02-22 Thread Joe Osman
I would like to execute a SqlString only on a rollback of a product upgrade. In order to that I am trying to set a property to signal if the product is currently being upgraded. I do it using a custom action that is getting executed depending on UPGRADINGPRODUCTCODE. This custom action is

[WiX-users] I need help: a hot problem about WIX installer

2009-02-22 Thread xfishxi
Hi all, I'm a beginer on WIX installer, now I meet a hot problem when I create an installer using Wix, the problem is : how to copy a whole folder . now the folder structure is like this: Media1\Fonts.zip Media1\gui.zip Media1\Data\World\a.xml Media1\Data\World\b.xml Media1\Data\QQ.txt