Re: [WiX-users] RegistrySearch and RegistryValue

2009-05-11 Thread Alex Shevchuk
Hi Alex, Short answer: Yes, maybe, no. :-) Detailed answer: http://blogs.technet.com/alexshev/archive/2009/05/11/is-it-possible-to-use-r egistrysearch-result-in-registryvalue.aspx Regards, Alex -Original Message- From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] Sent: Monday, May

[WiX-users] what is feature and it's level?

2009-05-11 Thread MYFLEX
Hi, i want some information about how the installer will treat a feature. and what is install level? Please send some links where i can get some information about feature state and levels. -- View this message in context: http://n2.nabble.com/what-is-feature-and-it%27s-level--tp2867354p286735

Re: [WiX-users] Rollback Custom Action during Upgrade

2009-05-11 Thread achandrapano
Yes I see your point, but is there no way to do everything from the new MSI? >From the new MSI, I can't get access to the rollback of the older MSI? The only way I got this working was to put REP after InstallFinalize, which kinda ruins the order of everything. Richard-45 wrote: > > > In artic

Re: [WiX-users] Rollback Custom Action during Upgrade

2009-05-11 Thread Richard
In article <1242087148392-2866280.p...@n2.nabble.com>, achandrapano writes: > REP is right after InstallInitialize. I can't put this Rollback action in the > older MSI. Why not? You can patch the old MSI so that when the uninstall rolls back, it reinstalls the driver. This will be done a

Re: [WiX-users] property value passed to CA through ExecXmlFile property is not correct

2009-05-11 Thread Bob Arnson
Amy Rosewater wrote: > Width="150" Height="18" CheckBoxValue="checked" > Property="DoNotInstallAnalysisServices"> > You need to use a secure, public property so it's passed from the UI to the execute sequence. -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Modifying web.config with the value from a dialog text control

2009-05-11 Thread Bob Arnson
Justin Romaine wrote: > Which element do I set to secure? I do not have a declare property > element, Im just using the implicit one from the Dialog. > Do i need to pre-declare the property first. > Yes. -- sig://boB http://joyofsetup.com/ ---

Re: [WiX-users] adding a bootstrapper breaks comboboxes on custom UI!

2009-05-11 Thread Bob Arnson
barry wrote: > Tried that other forum but they said to try WIX newsgroups! > If your WiX-built MSI works, then it's not WiX and it's not Windows Installer. Sorry, I know it's not much help, but what you're describing doesn't make sense unless the bootstrapper passes some properties that chan

Re: [WiX-users] Make light.exe run faster.

2009-05-11 Thread Bob Arnson
Mahmoud Hamad wrote: > I have about 10,000 files and it appears they are all but in the same cab. > http://www.joyofsetup.com/2008/03/29/wix-performance-tip-use-multiple-cabinets/ -- sig://boB http://joyofsetup.com/ -

Re: [WiX-users] Rollback Custom Action during Upgrade

2009-05-11 Thread achandrapano
I moved REP to After InstallFinalize and now it seems I can execute my rollback action before Remove Files. However I need the REP to be After InstallInitialize . Is there any way to make the rollback action work before RemoveFiles while keeping REP After InstallInitialize? achandrapano wrote: >

Re: [WiX-users] Rollback Custom Action during Upgrade

2009-05-11 Thread achandrapano
REP is right after InstallInitialize. I can't put this Rollback action in the older MSI. Here is the reason why. I am installing drivers using custom actions. When installing the newer version as part of the upgrade, say something goes wrong with the driver installation. At this point a rollback i

Re: [WiX-users] Modifying web.config with the value from a dialog text control

2009-05-11 Thread Justin Romaine
Thank you Bob for responding. Which element do I set to secure? I do not have a declare property element, Im just using the implicit one from the Dialog. Do i need to pre-declare the property first. May you know of an example out there somewhere for getting properties from dialogs into config file

Re: [WiX-users] Rollback Custom Action during Upgrade

2009-05-11 Thread Richard
In article <048288cf0239f24a8c2299e69f020b0501293...@exchange.panologic.com>, "Ashwin Chandra" writes: > I am trying to perform a rollback custom action when an upgrade install > fails. However, I require the original files on the system (before the > installer updates them) to execute this

[WiX-users] Rollback Custom Action during Upgrade

2009-05-11 Thread Ashwin Chandra
Hello, I am trying to perform a rollback custom action when an upgrade install fails. However, I require the original files on the system (before the installer updates them) to execute this rollback custom action. I put my RCA before InstallFiles (so when rollback initiates, it will rollback the f

Re: [WiX-users] Make light.exe run faster.

2009-05-11 Thread Mike Carlson (DEV DIV)
I don't believe there is an automated way to do this. I think clever use of the DiskId attribute of the "directory" element is probably the easiest, assuming the files are split up into a few directories. On the other hand, if all (or most) of the files do go to the same directory, then I don't

Re: [WiX-users] Make light.exe run faster.

2009-05-11 Thread Mahmoud Hamad
Hi Mike, I have about 10,000 files and it appears they are all but in the same cab. Is there way to specify in an automated fashion to split the file in an equal number of cabs? Thanks, Mahmoud > From: mica...@microsoft.com > To: wix-users@lists.sourceforge.net > Date: Mon, 11 Ma

Re: [WiX-users] property value passed to CA through ExecXmlFile property is not correct

2009-05-11 Thread Mike Carlson (DEV DIV)
An XmlFile entry will only get passed to ExecXmlFile if the component associated with it is being installed or uninstalled. Is the component associated with it being installed (or uninstalled)? Thanks, Mike Carlson -Original Message- From: Amy Rosewater [mailto:arosewa...@spectrumhr.com

Re: [WiX-users] Make light.exe run faster.

2009-05-11 Thread Mike Carlson (DEV DIV)
Naturally it will take a long time to compress 5GB of data, so you will have to expect that to take a while no matter what. If the files don't change often, one way to cut down on the build time might be to use light's "-cc" switch, to cache the CABs between builds. Just in case, I have to ask

[WiX-users] Make light.exe run faster.

2009-05-11 Thread Mahmoud Hamad
Hi All, I have about 5GB worth of files that i am trying to stuff within an MSI. I used heat.exe to auto-generate my *.wxs file and I then ran candle.exe to generate the corresponding object file. These two processes executed fairly fast. However, the linking\creation of the MSI using

Re: [WiX-users] Errors while running heat.exe

2009-05-11 Thread Mahmoud Hamad
Thanks Brian that seemed to have worked. > Date: Mon, 11 May 2009 10:15:56 -0700 > From: rogers.br...@gmail.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Errors while running heat.exe > > Hey Mahmoud, > > Wild guess, but I think you are trying to harvest a ARMv4i EXE > (

Re: [WiX-users] Create a button and use it to launch a URL?

2009-05-11 Thread Eric St . John
Try the following, it uses the shell exec custom action to open the browser: 1 1 > Date: Mon, 11 May 2009 22:04:49 +0800 > From: heshim...@gmail.com > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Create a button and use it to launch a URL? > > > You need a custom ac

[WiX-users] RegistrySearch and RegistryValue

2009-05-11 Thread Alex Ivanoff
Is it possible to use RegistrySearch result in RegistryValue? Something like this: ... -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a per

Re: [WiX-users] ProgId's

2009-05-11 Thread Rob Mensching
That looks right to me. Error message isn't great when you don't get your dependent ProgIds right. mi...@get2net.dk wrote: > Hi, > > I have a question regarding the proper use of the ProgId element under > a TypeLib/Class element (COM Registration) and specifically related to > version-independe

Re: [WiX-users] MSI Factory

2009-05-11 Thread MacDiarmid, James D
>>James can you send more one line e-mails to the list every 5 minutes please. Sure! If you want me to. ;) -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may

Re: [WiX-users] Compression level

2009-05-11 Thread Brian Rogers
Another thing to keep in mind is that file types do affect the speed of compression. Do some testing along those lines if you have larger builds. Our team has seen up to 1 1/2 hours come off our cabbing times. Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com On

Re: [WiX-users] Errors while running heat.exe

2009-05-11 Thread Brian Rogers
Hey Mahmoud, Wild guess, but I think you are trying to harvest a ARMv4i EXE (armv4i\cgacutil.exe). Currently heat.exe is only in the 32-bit process space. You might want to do -sreg on your command line. Thanks, Brian Rogers "Intelligence removes complexity." - Me http://icumove.spaces.live.com

Re: [WiX-users] MSI Factory

2009-05-11 Thread MacDiarmid, James D
Yy!!! I got it to work. ;) I found the Wix 3.0 setup. Oh... Now I'm diving into new dark waters. Lol -Original Message- From: ryebank [mailto:ja...@ryebank.co.uk] Sent: Monday, May 11, 2009 11:43 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] MSI Factory Mac

Re: [WiX-users] MSI Factory

2009-05-11 Thread Pally Sandher
I did the same. Works completely fine. Started WinXP SP3 VM. Installed Visual Studio 2008 Shell (integrated mode) Installed WiX v3.0.5308.0 Launched Visual Studio 2008 IDE from shortcut on Start menu. Clicked the "Create Project" link on the Start Page & I can see the WiX project types. Clicking

Re: [WiX-users] Control.Default and Edit control

2009-05-11 Thread Sergey Abakumoff
Any ideas about my question? Maybe the description is unclear, so let me re-formulate.. The default behavior of the PushButton control(if user presses Enter key, then the control is invoked) does not work if there is the Edit control in the dialog and this control is activated(i.e. user typed some

[WiX-users] Errors while running heat.exe

2009-05-11 Thread Mahmoud Hamad
Hi All, I am seeing the following types of errors when running heat.exe: Heat.exe – Bad Image UNC\msn\builds\celabs\v1_main\pink1711\others\dotnetv35\armv4i\cgacutil.exe is either not designed to run on Windows or it contains an error. Try installing the program again using the original ins

Re: [WiX-users] MSI Factory

2009-05-11 Thread MacDiarmid, James D
Ah ok.. I think that may the problem. I don't see a Wix 3.0 installer. All that I've been downloading is the zipped binary files. -Original Message- From: ryebank [mailto:ja...@ryebank.co.uk] Sent: Monday, May 11, 2009 11:43 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-use

Re: [WiX-users] MSI Factory

2009-05-11 Thread ryebank
MacDiarmid, James D wrote: > > > I just installed the 3.0.5217 build of Wix 3 as well as all of the files > you mentionmed.. No luck. :( > > Yes - I mentioned that as when you said you could not get it to install I did this: 1. Loaded up my VMWare "Installer Test XP" VM - this is a base Wi

Re: [WiX-users] MSI Factory

2009-05-11 Thread MacDiarmid, James D
I just installed the 3.0.5217 build of Wix 3 as well as all of the files you mentionmed.. No luck. :( -Original Message- From: ryebank [mailto:ja...@ryebank.co.uk] Sent: Friday, May 08, 2009 7:14 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] MSI Factory MacDiarmid, J

[WiX-users] property value passed to CA through ExecXmlFile property is not correct

2009-05-11 Thread Amy Rosewater
Hi All, I am using Wix V 3.0.4813 and I am having a small issue with the ExecXmlFile custom action. I have several nodes in my wxs file for updating values in an output file I create during my install. This file holds the values of various properties set during the UI portion of the instal

Re: [WiX-users] MSI Factory

2009-05-11 Thread MacDiarmid, James D
Does the 3.0.5217 build of Wix recognize the VS 2008 shell and install to it? -Original Message- From: ryebank [mailto:ja...@ryebank.co.uk] Sent: Friday, May 08, 2009 7:14 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] MSI Factory MacDiarmid, James D wrote: > > Ok.

Re: [WiX-users] MSI Factory

2009-05-11 Thread MacDiarmid, James D
Ok.. Just installed this ProjectAggregator2.msi thingy and it doesn't seem to do anything. -Original Message- From: ryebank [mailto:ja...@ryebank.co.uk] Sent: Friday, May 08, 2009 6:43 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] MSI Factory MacDiarmid, James D wr

Re: [WiX-users] MSI Factory

2009-05-11 Thread MacDiarmid, James D
ProjectAggregator2.msi? Ummm, no... Hmmm, let me try that and see what happens. :) -Original Message- From: ryebank [mailto:ja...@ryebank.co.uk] Sent: Friday, May 08, 2009 6:43 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] MSI Factory MacDiarmid, James D wrote:

Re: [WiX-users] adding a bootstrapper breaks comboboxes on custom UI!

2009-05-11 Thread barry
Bob Arnson-6 wrote: > > barry wrote: >> Do you know where is the best place to post my problem for the >> bootstrapper >> experts? >> > > Try > http://social.msdn.microsoft.com/Search/en-US/?Refinement=112&query=BOOTSTRAPPER&rq=&rn=. > > -- > sig://boB > http://joyofsetup.com/ > > > >

Re: [WiX-users] Create a button and use it to launch a URL?

2009-05-11 Thread He Shiming
> You need a custom action to set the WixShellExecTarget property. That > means you also need one to set the target of your app launcher. > > What's DoURL? Check out how the WixUI dialogs use that custom action: > src/ext/UIExtension/wixlib. > Thanks. I checked some tutorials and come up with this

Re: [WiX-users] combined 32 and 64 bit drv installer

2009-05-11 Thread stephan o'farrill
Thanks again, manually modifying the .wixproj files to: C:\Program Files\Windows Installer XML v3\bin\difxapp_$(Platform).wixlib seems to work. Thanks, Stephan. On Mon, May 11, 2009 at 1:31 PM, Bob Arnson wrote: > stephan o'farrill wrote: >> sure, that would be obvious -

Re: [WiX-users] combined 32 and 64 bit drv installer

2009-05-11 Thread Bob Arnson
stephan o'farrill wrote: > sure, that would be obvious - and thats what I had expected! > But unfortunately Votiv's (Wix3) references can not be defined in > dependence of the (solution) configurations. > I don't see any reason it wouldn't be supported by the MSBuild targets but I'm not sure w

Re: [WiX-users] Create a button and use it to launch a URL?

2009-05-11 Thread Bob Arnson
He Shiming wrote: > The WixShellExecTarget property is already set. How do I create a custom > action to launch this URL now? > You need a custom action to set the WixShellExecTarget property. That means you also need one to set the target of your app launcher. > Besides, I'm not sure what's

Re: [WiX-users] WiX 3.0: Install/Repair/Remove operations and

2009-05-11 Thread Bob Arnson
Michael Zemanek wrote: > You have sort of wrong logic in here. Both controls are initially > visible and then shown by condition (=always visible). > Either change the controls (...) or > change your condition to Installed > WixUI does the former. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] Running WiX utilities from a script

2009-05-11 Thread Bob Arnson
Reuss, Matthias wrote: > Well I do not have a wixproj file - which utility does that belong to? Votive? > And MSBuild. > Anyway, I think return codes are useful for any kind of automated builds - > scripts, VisualStudio, MsBuild, Nant, even makefiles... > In WiX v3, the tools return the

Re: [WiX-users] Modifying web.config with the value from a dialog text control

2009-05-11 Thread Bob Arnson
Justin Romaine wrote: > Property="LICENSE_CONNECT_STRING" Value="Data > Source=[LICENSESERVERNAME]\[LICENSESERVERINSTANCENAME];Initial > Catalog=License;User > ID=sa;Password=??\#;MultipleActiveResultSets=True" /> > > > > But it would appear that the string gets parsed before my dialog gets

[WiX-users] ProgId's

2009-05-11 Thread misuo
Hi, I have a question regarding the proper use of the ProgId element under a TypeLib/Class element (COM Registration) and specifically related to version-independent and version-dependent ProgId's. I've previously had my definition like: ... But for some

Re: [WiX-users] WiX 3.0: Install/Repair/Remove operations and

2009-05-11 Thread Michael Zemanek
You have sort of wrong logic in here. Both controls are initially visible and then shown by condition (=always visible). Either change the controls (...) or change your condition to Installed little.forest wrote: > > NOT Installed > > > NOT Installed > ---

Re: [WiX-users] combined 32 and 64 bit drv installer

2009-05-11 Thread stephan o'farrill
Thanks Bob, sure, that would be obvious - and thats what I had expected! But unfortunately Votiv's (Wix3) references can not be defined in dependence of the (solution) configurations. Thanks, Stephan On Sat, May 9, 2009 at 8:56 PM, Bob Arnson wrote: > stephan o'farrill wrote: >> But again, ev

[WiX-users] Modifying web.config with the value from a dialog text control

2009-05-11 Thread Justin Romaine
I am having trouble modifying my web.config with a value from a dialog. I have a property in a dialog. And i need to get it into my util:XmlFile changer so i can set the value of my config setting to a dialog entry. I have a custom

[WiX-users] Create a button and use it to launch a URL?

2009-05-11 Thread He Shiming
Hi, I'm confused about how to create a button and launch the default browser with a specified URL. I'm using wix 3. Currently, I've created my custom UI sequence based on WixUI_InstallDir. I changed a bit of the welcome screen and added a button via to pass the compiler. It's displayed correctly