[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

[WiX-users] update Hotkeys for custom ButtonType

2009-02-22 Thread akash bhatia
hi, how can we add hotkeys for our own custom buttons ? regards, Akash -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Ente

Re: [WiX-users] Still not able to show Dialog from Managed CA

2009-02-22 Thread akash bhatia
hi, Me too... had faced this probelm. so i wrote my own Error Dialog. in managed custom action i checked for the validation and sets the properties accordingly, then on NEXT click i had called my error dialog as spawn dialog. this helped me to meet my requirements somehow moreover, if u facin

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

2009-02-22 Thread Christopher Painter
I went back and looked at the source and your right, I didn't have Component_ but I did have Component. Also if you look in my C# code I have a function that queries component and does: if (session.Components[component].RequestState == InstallState.Local) { //populate list of reports to be i

[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 bein

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] 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 dll.co

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] Me

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] 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] 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, wh

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

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

2009-02-22 Thread Bob Arnson
Thomas S. Trias wrote: > Ack; I was afraid of that. That has some definite consequences for my > CA that reads the web-site directory and sets a property. Is it > possible to have a CA run just after AppSearch with elevated privileges? > No, it has to be deferred to get elevated and that's

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 wrote: > Hi: > What is the best way of

[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), M

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/

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

2009-02-22 Thread Thomas S. Trias
Ack; I was afraid of that. That has some definite consequences for my CA that reads the web-site directory and sets a property. Is it possible to have a CA run just after AppSearch with elevated privileges? Thanks, Thomas S. Trias Senior Developer Artizan Internet Services http://www.artizan.

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

2009-02-22 Thread Christopher Painter
The SSRS data driven CA prototype I sent you back in November has a custom table with a Component_ column. The _ signifies it's a FK back to the PK of the Component table. MSI is only loosely a relational database. There aren't any real foreign key constraint capabilities. Christopher Paint

[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 un

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 From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Sat 21/02/2009 22:27 To: General disc