Re: [WiX-users] Disable feature when feature already installed

2010-04-13 Thread puyo puy
Hi Bob,   Thanks for your quick response.  Is that possible to detect the spelling check feature and display “Feature already installed” when it already installed by other product?   Thanks puyo --- On Wed, 14/4/10, Bob Arnson wrote: From: Bob Arnson Subject: Re: [WiX-users] Disable

Re: [WiX-users] Deferred custom action creates directories in the installation directory

2010-04-13 Thread Dariel Marlow
I have another installer that is running with elevated privileges and its deferred custom actions are executing from the windows\installer directory. I can't find why one runs from the program files directory while the other runs from windows installer directory. Is there a setting or a way to s

Re: [WiX-users] Uninstall problems

2010-04-13 Thread Bob Arnson
On 4/13/2010 9:04 AM, Jeffrey Bindinga wrote: > Where should I be looking in this case? > Verbose log. It will show you what MSI decided to do with each feature and component. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] RegistrySearch on two properties

2010-04-13 Thread Bob Arnson
On 4/13/2010 10:38 AM, Rodney Schuler wrote: > Key="Software\TheirCompany\TheirProduct\[THEIRCURVER]\[THEIRCURLANG]" > Name="ProductName" Type="raw"> > You can't rely on using the results of one AppSearch in another like that because there's no guaranteed order to how the rows in the

Re: [WiX-users] Issue using ps:snapin versus installutil.exe

2010-04-13 Thread Bob Arnson
On 4/12/2010 10:27 AM, Michael Clark wrote: > I have a PowerShell snapin that I'd like to use the ps:SnapIn however > when I use it my SnapIn gets registered with the wrong name and version > number. If I use the InstallUtil.exe program the snapin gets registered > properly. Anyone have any Idea as

Re: [WiX-users] Disable feature when feature already installed

2010-04-13 Thread Bob Arnson
On 4/13/2010 8:18 PM, puyo puy wrote: > I got > > multiple products that will deploy the same feature. For example Word, > Excel and PowerPoint standalone MSI will deploy > spelling check feature. If any of these > products already installed spelling check feature, running other products > set

Re: [WiX-users] To set property with the value of another property, use a CustomAction with Property and Value attributes?!

2010-04-13 Thread Bob Arnson
On 4/13/2010 10:43 AM, Erich Nurr wrote: > Warning 2 The 'ASPNETREGIIS' Property contains '[ASPNETREGIIS]' > in its value > which is an illegal reference to another property. If this value is a > string literal, not a property reference, please ignore this warning. To > set a propert

Re: [WiX-users] Deferred custom action creates directories in the installation directory

2010-04-13 Thread Bob Arnson
On 4/13/2010 6:11 PM, Dariel Marlow wrote: > When running the deferred custom action, a directory is created in the > installation directory. The log files says that the custom action is being > extracted to a temporary folder. Why is it not doing this in the typical temp > directory? > Sec

Re: [WiX-users] Crash in Votive project build

2010-04-13 Thread Bob Arnson
On 4/13/2010 6:23 AM, John Aldridge wrote: > That seems to have done the trick... no crashes for a week now, and we > were getting one every few days. Thank you! > Good to know but you shouldn't have to; there's a bug lurking there. Could you turn on verbose MSBuild logging and capture another

Re: [WiX-users] Accessing Vista VirtualStore from CustomAction

2010-04-13 Thread Sascha Beaumont
Most likely your CA is running deferred and with elevated privileges, try setting CustomAction/@Impersonate="true" On Wed, Apr 14, 2010 at 12:53 AM, Francesc Castells wrote: > Hi, > I have an installer that upgrades an old program and imports the data. To do > that, it opens the old program's co

[WiX-users] Disable feature when feature already installed

2010-04-13 Thread puyo puy
Hello everyone,   I got multiple  products that will deploy the same feature.  For example Word, Excel and PowerPoint standalone MSI will deploy spelling check feature.  If any of these products already installed spelling check feature, running other products setup will disable the spellin

Re: [WiX-users] WixUI issue when using two-pass linking with light

2010-04-13 Thread Nick Ramirez
I've seen the same thing. Although in my case I'm just trying to speed up localization, not make a patch. It seems to be caused by the -bf flag. Without it (in which case you'll need to make sure that your WixVariables or -d flags are referencing the bitmaps and icons correctly in relation to the

[WiX-users] Deferred custom action creates directories in the installation directory

2010-04-13 Thread Dariel Marlow
When running the deferred custom action, a directory is created in the installation directory. The log files says that the custom action is being extracted to a temporary folder. Why is it not doing this in the typical temp directory? Here's the pertinent part of the log file: ... MSI (s) (0C:

Re: [WiX-users] Leave files after uninstall?

2010-04-13 Thread Wilson, Phil
As long as everyone realizes that Permanent means permanent forever. It doesn't mean "until I change the setting to not Permanent". It makes that component permanent on the system, and I wouldn't use it unless "permanently installer forever" is what is required. Phil Wilson -Original Me

Re: [WiX-users] Adding Digital Signature to MSI

2010-04-13 Thread Mike Carlson (DEV DIV)
Christof is correct that WiX doesn't own the process of signing any particular file - signtool.exe does that job. If you don't have any external cabinets, just use signtool.exe to sign your MSI, and you're done. If you do have external cabinets (i.e. you have Media elements where Media/@EmbedCa

Re: [WiX-users] Searching for existing files but only once

2010-04-13 Thread Castro, Edwin G. (Hillsboro)
> -Original Message- > From: Markus Karg [mailto:k...@quipsy.de] > Actually the problem is that it is impossible to learn from the WiX > documentation / MSI documentation that what we actually want is just > impossible, due to two facts: I wouldn't say it is impossible. Many, many people b

Re: [WiX-users] Leave files after uninstall?

2010-04-13 Thread Yan Sklyarenko
I think the alternative way is to mark the component as 'Permanent': http://wix.sourceforge.net/manual-wix3/wix_xsd_component.htm Depending on what you need: this way leaves the component patchable. -- Yan

Re: [WiX-users] Searching for existing files but only once

2010-04-13 Thread Castro, Edwin G. (Hillsboro)
The key here is to condition the custom action so that it only executes on a new install. The properties set as a result of the Upgrade table and FindRelatedProducts should help you determine if this is a new install or an upgrade. Another alternative might be to require the user to provide the

Re: [WiX-users] Adding Digital Signature to MSI

2010-04-13 Thread Christof Schmutz
Hi Jeff I use the program signtool from windows.sdk See example set FileEinzelMsi="setup.msi" set TimeURL=http://timestamp.comodoca.com/authenticode signtool.exe sign /f "certificat.pfx" /p password /t "%TimeURL%" /v "%FileEinzelMsi%" Christof -Ursprüngliche Nachricht- Von: jeff00seat

Re: [WiX-users] Leave files after uninstall?

2010-04-13 Thread Wilson, Phil
See the MSI SDK docs for the Component table - set the Component guid to be null (empty). The effect of this is that the component isn't registered (so it can't be repaired) and it won't be uninstalled. Phil Wilson -Original Message- From: glenneroo [mailto:gl...@glenneroo.org] Sent

Re: [WiX-users] Adding Digital Signature to MSI

2010-04-13 Thread Andy Clugston
I am not 100% sure, but I doubt WiX has this built in. I use signtool.exe to sign the MSI after WiX is done with it. Works good, and is probably a little more flexible in the long run anyway. On Tue, Apr 13, 2010 at 12:03 PM, jeff00seattle wrote: > > Hi > > Curious, does WiX provide a way to ad

Re: [WiX-users] Searching for existing files but only once

2010-04-13 Thread Castro, Edwin G. (Hillsboro)
> -Original Message- > From: Markus Karg [mailto:k...@quipsy.de] > Sent: Saturday, April 10, 2010 7:37 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Searching for existing files but only once > > > I assure you, all of us were beginners once. And

[WiX-users] Leave files after uninstall?

2010-04-13 Thread glenneroo
Is there a way to NOT delete files during uninstall? Thanks, glenn -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for pa

[WiX-users] Adding Digital Signature to MSI

2010-04-13 Thread jeff00seattle
Hi Curious, does WiX provide a way to add a digital signature to resulting MSI output? - Thanks Jeff in Seattle -- View this message in context: http://n2.nabble.com/Adding-Digital-Signature-to-MSI-tp4896947p4896947.html Sent from the wix-users mailing list archive at Nabble.com.

Re: [WiX-users] Uninstall By Product/Upgrade Code

2010-04-13 Thread Thomas Svare
Hello, You can use the Upgrade table and FindRelatedProducts action to get what you're looking for. Thanks, Tom -Original Message- From: Clemmer, Everette [mailto:eclem...@rosettastone.com] Sent: Tuesday, April 13, 2010 11:29 AM To: General discussion for Windows Installer XML toolset.

[WiX-users] Uninstall By Product/Upgrade Code

2010-04-13 Thread Clemmer, Everette
Does WIX have any way to retrieve the product code of an installed application, given its upgrade code? Everette -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs

Re: [WiX-users] when can we expect Wix 3.5 RTM?

2010-04-13 Thread Jeremy Farrell
I'll be surprised if the date has moved much since this question was answered yesterday, or even since the several times it and similar questions have been answered in recent weeks. > From: MYFLEX [mailto:shrinuen...@gmail.com] > Sent: Tuesday, April 13, 2010 5:41 AM > > when can we expect Wix 3

Re: [WiX-users] Creating MSI for non admin user

2010-04-13 Thread Sanjay Poria
Thanks for the detailed response. That's a great help. sanjay > -Original Message- > From: Pally Sandher [mailto:pally.sand...@iesve.com] > Sent: 13 April 2010 14:58 > Subject: Re: [WiX-users] Creating MSI for non admin user > > You can use a LaunchCondition with the NETFRAMEWORK35 Prope

[WiX-users] Accessing Vista VirtualStore from CustomAction

2010-04-13 Thread Francesc Castells
Hi, I have an installer that upgrades an old program and imports the data. To do that, it opens the old program's config file and gets the path to the data files (an access .mdb file, for example). The problem is that most of the times the data was stored in Program Files, so Vista has created a vi

[WiX-users] To set property with the value of another property, use a CustomAction with Property and Value attributes?!

2010-04-13 Thread Erich Nurr
Hi ! here is my Code: --- ASPNETREGIIS AND NOT Installed --- this code works fine but by installing the commandprompt is visible and thats not what i

[WiX-users] Not uninstall website and apppool on major upgrade

2010-04-13 Thread Igor Paniushkin
Hi everyone, Is there easy way to not uninstall website and/or application pool on major upgrade? Because it can be manually configured by user (set for example basic authentication, etc.) and I don't want to remove such settings on major upgrade, I just want to configure maybe some additional

Re: [WiX-users] Creating MSI for non admin user

2010-04-13 Thread Phil Sayers
If you need something per-user and you can live with the limitations about what icons/shortcuts you can place, you may want to look at ClickOnce. -Original Message- From: Sanjay Poria [mailto:sanjay.po...@xanalys.com] Sent: Tuesday, April 13, 2010 9:11 AM To: wix-users@lists.sourceforge.

[WiX-users] RegistrySearch on two properties

2010-04-13 Thread Rodney Schuler
I am writing an installer for a plugin module to a larger application. To install correctly I need to read several registry values set by the larger application. Each registry path chains off of the prior registry searches. My first attempt: A

Re: [WiX-users] Creating MSI for non admin user

2010-04-13 Thread Pally Sandher
You can use a LaunchCondition with the NETFRAMEWORK35 Property in WixNetfxExtension to check for .NET 3.5 Framework (http://wix.sourceforge.net/manual-wix3/wixnetfxextension.htm) Non-administrator users can't write to ProgramFilesFolder so author your installer to default to LocalAppDataFolder (ht

[WiX-users] Creating MSI for non admin user

2010-04-13 Thread Sanjay Poria
I have been tasked with writing a installer for an .NET application (consisting of a few DLLs and an exe) such that I can install it for a user that does not have admin rights. Presumably this means doing a per-user install of the application. I simply need to install the application files and c

[WiX-users] Uninstall problems

2010-04-13 Thread Jeffrey Bindinga
Hi, I'm having problems with a wix create Installer. My Uninstall fails. If I uninstall it says that the uninstall completed successfully (both the GUI and the msi logfiles). My features are uninstalled, but my application is still in the software list and I can't install the application again

Re: [WiX-users] Pool 32bit

2010-04-13 Thread Jeffrey Bindinga
Hi, If you mean an application pool in IIS 7 then you can use appcmd with a custom action. We use the following custom action for this: With /enable32BitAppOnWin64:true you will set the application pool to 32 bits. Cheers, Jeffrey Bindinga CyberTech B.V. -Original Message- From: Caro

[WiX-users] Uninstall failure

2010-04-13 Thread Jeffrey Bindinga
Hi, I'm having problems with a wix create Installer. My Uninstall fails. If I uninstall it says that the uninstall completed successfully (both the GUI and the msi logfiles). My features are uninstalled, but my application is still in the software list and I can't install the application again

[WiX-users] Create Protected Configuration RSA Key Containers

2010-04-13 Thread Igor Paniushkin
Hi All, Did somebody already try to create Protected Configuration RSA Key Containers? Because we need to implement protection of our configuration sections and currently I'm going to use aspnet_regiis.exe -pc "RsaKeyContainer" -exp aspnet_regiis -pa "RsaKeyContainer" "DOMAIN\USERNAME" co

[WiX-users] Pool 32bit

2010-04-13 Thread Carolina Zuqueto Amaral
Hi, How Do I create a pool 32 bit? Or how Do I change a pool 64 bit for 32 bit? Thanks, Carolina Zuqueto Amaral carolina.ama...@conv.com.br tel +55 21 2494-5476 cel +55 21 9524-7186 Confidencialidade: A informa??o contida ne

Re: [WiX-users] Log file for un-install process

2010-04-13 Thread vinod kulkarni
Hi Jaspreet, Try the below ones i.e one removes the File and other one Folder and hope your problem will be solved.. --Vinod K On Tue, Apr 13, 2010 at 3:03 AM, Nabha, Jaspreet Singh < jaspreet.singh.na...@morganstanleysmithbarney.com> wrote: > Hi, > > I am facing some issues while uninstal

Re: [WiX-users] Crash in Votive project build

2010-04-13 Thread John Aldridge
On 03/04/2010 14:22, Bob Arnson wrote: > On 4/1/2010 6:55 AM, John Aldridge wrote: >> I have a Votive(MSI) project in Visual Studio which sometimes crashes >> right at the end of the build with the traceback > > Try setting the RunWixToolsOutOfProc property in your .wixproj file and > see if the cr

[WiX-users] installer is not deleting start menu entries, registry values and services installed

2010-04-13 Thread Sanjay Rao
Hi, when I run uninstallation on windows XP, it does not deletes start menu entries, registry values, and services installed at this machine. Please suggest something if u find anything wrong in my code. code for start menu entries is -

Re: [WiX-users] correct upgrade table

2010-04-13 Thread Viv Coco
ok, so I got it right: the 4th field is completely ignored by the installer, and you have it so that internally the QA knows what version they are testing. Thx a lot! Viv On 4/13/2010 12:47 AM, Sascha Beaumont wrote: > Because in our environment the fourth version is increased > automatically w