Re: [WiX-users] Updating msiexec status window from custom action

2010-08-06 Thread Christopher Painter
If you just want a simple message to be displayed, consider using the ActionText table ( ProgressText element )   You shouldn't need a CA to do that. http://jonorossi.com/blog/archive/2008/07/20/wix-progress-text-for-a-custom-action.aspx http://msdn.microsoft.com/en-us/library/aa367516(VS.85)

[WiX-users] Updating msiexec status window from custom action

2010-08-06 Thread Gary Gocek
Hi all, I work on a wix-based, C# .NET installer, currently targeting Windows Server 2008 installs with msiexec v4 or greater. The installer invokes a deferred custom action. This works as expected. Files are deployed, custom action tasks are performed, errors result in a clean rollback, etc. Whil

[WiX-users] dotNetInstaller 1.10 released / htmlInstaller Alpha

2010-08-06 Thread dB .
As usual, forgive me for shameless advertising. I hope I am less annoying and a bit more helpful than the people who ask about when Burn is ready every other day :) dotNetInstaller, a general-purpose setup bootstrapper, 1.10 was released a few weeks ago. If you need a functional bootstrapper to

Re: [WiX-users] Logging while uninstalling from Control Panel

2010-08-06 Thread Ivo Beltchev
I think you can edit the registry (via custom action or another way) to set WindowsInstaller to 0, and change UninstallString to "MsiExec.exe /x {blah} /l*v C:\q.txt". I don't know what is the best way to achieve this, or if there won't be any ill effects. Castro, Edwin G. (Hillsboro) wrote: >

Re: [WiX-users] Logging while uninstalling from Control Panel

2010-08-06 Thread Castro, Edwin G. (Hillsboro)
I don't think it's possible to enable logging at uninstall time from the control panel to a custom location for a very specific package. _As I understand it_ the control panel simply does the equivalent of Msiexec.exe /x [productcode] That's it. Your only option is to enable logging for all inst

Re: [WiX-users] installing files to user's application data folder

2010-08-06 Thread michaelrepucci
Pally Sandher wrote: > > That looks OK if it's passing the ICE tests now as it's much like the > sample in the How to create a shortcut > (http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm). > Shortcuts are still files as far as the file system is concerned so > copying that

Re: [WiX-users] Logging while uninstalling from Control Panel

2010-08-06 Thread Blair
With MSI 4.0 and above, you can use the MsiLogging property. -Original Message- From: Sai Kodi [mailto:saik...@hotmail.com] Sent: Friday, August 06, 2010 9:50 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Logging while uninstalling from Control Pa

Re: [WiX-users] Shared Attribute handling while Upgrade

2010-08-06 Thread Blair
Sounds like a component rule problem. Is this a major or a minor upgrade? And, are you sharing these binaries with other installers that are not/may not be MSI or that don't supply MSI components for their installation? -Original Message- From: Swapnil Sankla [mailto:swapnil_san...@persist

Re: [WiX-users] running ngen from an msi?

2010-08-06 Thread Blair
And WiX 3.5 extends that to .NET 4.0. -Original Message- From: Christopher Painter [mailto:chr...@deploymentengineering.com] Sent: Friday, August 06, 2010 9:16 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] running ngen from an msi? Google "wix ngen

Re: [WiX-users] Can you change the text of an installed file based on installation parameters?

2010-08-06 Thread michaelrepucci
In case you're reading HTML formatted, the greater- and less-than characters got replaced by "& g t ;" and "& l t ;", without the spaces or quotes. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Can-you-change-the-text-of-an-installed-file-based-on

Re: [WiX-users] Can you change the text of an installed file based on installation parameters?

2010-08-06 Thread michaelrepucci
Those are both almost perfect, but I can't seem to figure out how to escape certain characters in the value to be inserted. Specifically, I need to insert some javascript: but with that text as the value of the util:XmlFile/@Value attribute, it won't compile (no surprise error CNDL0104). And ne

[WiX-users] ICE34 error or Unresolved reference

2010-08-06 Thread Chad Petersen
This is my last stumbling block on my WiX 2.0 to 3.0 conversion. The UI in all my projects is basically the same. It predates my use of WiX in our company, so I'm not sure where it came from, but it's not WixUI_Mondo, I do know that. The pre-existing RadioButtonGroup definition is causing me some

Re: [WiX-users] Logging while uninstalling from Control Panel

2010-08-06 Thread Sai Kodi
Hi Pally, That's not what I am looking for. I have already done that search and I know how that works. I want to be able to create a log file during uninstallation only at a custom location with a custom file name. I don't want to enable logging for all the installers. I just want to log the uni

Re: [WiX-users] Shared Attribute handling while Upgrade

2010-08-06 Thread Wilson, Phil
You must be marking them shared using what becomes the msidbComponentAttributesSharedDllRefCount bit in the component table. You don't need this if the file is always deployed with an MSI-based setup because MSI does sharing based on component guids. The only reason this Dll ref count exists is

Re: [WiX-users] running ngen from an msi?

2010-08-06 Thread Christopher Painter
Google "wix ngen" and the first hit is: http://blogs.msdn.com/b/astebner/archive/2007/03/03/how-to-ngen-files-in-an-msi-based-setup-package-using-wix.aspx   - Original Message From: Mark Modrall To: General discussion for Windows Installer XML toolset. Sent: Fri, August 6, 2010 10:55

[WiX-users] running ngen from an msi?

2010-08-06 Thread Mark Modrall
I know there's a chicken/egg issue with running anything to work on the files you're installing during the installation process, but I was wondering what people usually do around ngen? I mean you install a bunch of .net assemblies and I know the way to deal with GACing them is to essentially

Re: [WiX-users] Changing a main module property value within a merge module custom action

2010-08-06 Thread Blair
The wixlib will "point" to the files that it refers to. If you need to store/move that wixlib from one machine context to another, you will want to "bind" the files into the wixlib. On the lit tool's commandline, look at the -bf flag. In msbuild, check out the BindFiles (and LibBindFiles) properti

Re: [WiX-users] Newbie question

2010-08-06 Thread Blair
Check out the "heat" tool. -Original Message- From: Satyaprakash J [mailto:sat...@smartek21.com] Sent: Friday, August 06, 2010 1:00 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Newbie question Hi, Please let me know if automatic updating o

Re: [WiX-users] Can you change the text of an installed file based on installation parameters?

2010-08-06 Thread Blair
Use bing or google or whatever, search for "WiX XmlConfig". -Original Message- From: michaelrepucci [mailto:mich...@repucci.org] Sent: Thursday, August 05, 2010 3:49 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Can you change the text of an installed file based on installat

Re: [WiX-users] TempFolder changes mid-install!?

2010-08-06 Thread Blair
> says somewhere in the log "Note: target paths subject to change (via > custom actions or browsing)", but how could this affect the TempFolder? directo...@id values are [treated as] installation session properties. If they are assigned values those values will be used instead of whatever [would

Re: [WiX-users] Changing a main module property value within a merge module custom action

2010-08-06 Thread Sudripta Nandy
I am not used to wixlibs. I tried creating one which will have a custom action file and few files which needs to be installed. What I am seeing is that the wixlib which is getting generated is of very little size (around 8 KB), inspite of the fact that I have files (to install) worth few MBs. C

Re: [WiX-users] TempFolder changes mid-install!?

2010-08-06 Thread Christian Froehlich
Yeah i am connecting via RDP, i have to to deploy to this server. I was placing it elsewhere, but i'll take your advice as there was nothing conclusive in the logs. Thanks Pally! --- On Fri, 6/8/10, Pally Sandher wrote: From: Pally Sandher Subject: Re: [WiX-users] TempFolder changes mid-inst

[WiX-users] Shared Attribute handling while Upgrade

2010-08-06 Thread Swapnil Sankla
Hi, I have marked the binaries deployed by the installer as Shared. It work fine if I install the msi and uninstall it. However if I tried to upgrade the existing product then the SharedDllRefCount increases to two. Hence after uninstalling the product the count becomes one and uninstallation d

Re: [WiX-users] reboot prompt appears before uninstall on Vista

2010-08-06 Thread Pally Sandher
What do those custom actions actually do? Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 R

Re: [WiX-users] how can I check for FULL admin privileges

2010-08-06 Thread Pally Sandher
Any reason why you need to write to the Registry using a Custom Action instead of using RegistryValue/RegistryKey elements? Using those would leave msiexec to deal with elevation instead of you having to even think about it. Sounds to me like your code doesn't follow UAC guidelines & is failing for

Re: [WiX-users] TempFolder changes mid-install!?

2010-08-06 Thread Pally Sandher
Check a verbose log & see what's changing & when. Are you using Terminal Services on the 2k3 server? Tempfolder is known to work differently from a console session & a remote desktop session. If you can't lock it down you may need to move the files to somewhere which won't change like LocalAppDa

Re: [WiX-users] Logging while uninstalling from Control Panel

2010-08-06 Thread Pally Sandher
http://lmgtfy.com/?q=how+to+enable+windows+installer+logging Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the ** Integrated Environmental Solutions Limited. Registered in Scotla

Re: [WiX-users] installing files to user's application data folder

2010-08-06 Thread Pally Sandher
That looks OK if it's passing the ICE tests now as it's much like the sample in the How to create a shortcut (http://wix.sourceforge.net/manual-wix3/create_start_menu_shortcut.htm). Shortcuts are still files as far as the file system is concerned so copying that sample for your own needs should be

Re: [WiX-users] Can you change the text of an installed file based on installation parameters?

2010-08-06 Thread Pally Sandher
Use XMLConfig (http://wix.sourceforge.net/manual-wix3/util_xsd_xmlconfig.htm) or XMLFile (http://wix.sourceforge.net/manual-wix3/util_xsd_xmlfile.htm) to modify the XML file during installation. You can pass the installation directory as a Property in the Value attribute of your XMLConfig or XMLFil

Re: [WiX-users] How to get vaues from C# custom action

2010-08-06 Thread ricky21
For the benefit of WIX-USERS: I did what is mentioned in the below link : http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/C-Custom-action-td1369251.html#a1369251 The key is to call the custom action at the correct time before or after the correct events. That was what was causing

Re: [WiX-users] Newbie question

2010-08-06 Thread Satyaprakash J
Hi, Please let me know if automatic updating of wxs file is available. Thanks Satyaprakash J -Original Message- From: Satyaprakash J [mailto:sat...@smartek21.com] Sent: Thursday, August 05, 2010 8:05 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users