[WiX-users] WixIISExtension: Set Certificate for WebApplication

2013-01-14 Thread Phil
Test.wxs - Files -- web --- cert.pfx My questions: How to avoid a certificate overwrite? How to ensure the correct naming in IIS? Is there any possiblity to specifiy the CertificatePath relative to the WIX XML-File? Thanks in advance! Best regards Phil

[WiX-users] Invalid Custom Action C++ Project Template in WiX 3.7

2013-01-17 Thread Phil
Include Directories: $(WIX)sdk\VS2012\inc - Properties->Linker->General->Additional Library Directories: $(WIX)sdk\VS2012\lib\x64 (for 64-bit) Maybe someone could take care about these changes in future releases. Best regards Phil

Re: [WiX-users] I need to use Product Version Build numbers larger than 65535

2013-06-25 Thread Phil Wilson
won't help from the user point of view because Windows Installer uses ProductVersion in places like Programs/Features, and whenever the version is shown. Phil -Original Message- From: Rod Horsley [mailto:rhors...@control4.com] Sent: Tuesday, June 25, 2013 12:16 PM To: General disc

Re: [WiX-users] Bootstrapper multiple MSI's don't rollback to a working installed state

2013-06-26 Thread Phil Wilson
n if Burn supports this your MSI packages may not be compatible with a single transaction. http://msdn.microsoft.com/en-us/library/windows/desktop/bb736322(v=vs.85).as px Phil -Original Message- From: Simon Fogliato [mailto:sfogli...@deltacontrols.com] Sent: Wednesday, June 26, 2013 11

Re: [WiX-users] Bootstrapper multiple MSI's don't rollback to a working installed state

2013-06-27 Thread Phil Wilson
talls. Phil -Original Message- From: Simon Fogliato [mailto:sfogli...@deltacontrols.com] Sent: Wednesday, June 26, 2013 3:01 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Bootstrapper multiple MSI's don't rollback to a working installed

Re: [WiX-users] Is it possible to have a bundle without a UI?

2013-06-27 Thread Phil Wilson
Look at the Bootstrap Manifest Generator - that's the customizable Visual Studio bootstrapper. Phil -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Thursday, June 27, 2013 5:07 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-user

Re: [WiX-users] Uninstall restart issue

2013-06-28 Thread Phil Wilson
is not complicated and is much more manageable than a command shell. Phil -Original Message- From: Alain Forget [mailto:afor...@cmu.edu] Sent: Friday, June 28, 2013 7:07 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Uninstall restar

Re: [WiX-users] timestamp of dlls is not right in wix installation

2013-06-28 Thread Phil Wilson
more than just file name and version. Why is the date of a file so important compared to File Version or Assembly Version to identify a particular incarnation of a binary? Phil -Original Message- From: Lu, Jie (Ruth) [mailto:ruth...@intergraph.com] Sent: Friday, June 28, 2013 6:52

Re: [WiX-users] Uninstall restart issue

2013-06-28 Thread Phil Wilson
it will be ok and the service will stop. If your java runtime has an explicit way to stop a Windows service and wait for it to actually finish, use that. Phil -Original Message- From: Alain Forget [mailto:afor...@cmu.edu] Sent: Friday, June 28, 2013 11:14 AM To: 'General discuss

Re: [WiX-users] Wix uninstall does not remove folders in GAC and uninstall through control panel follows non-UI uninstallation

2013-06-28 Thread Phil Wilson
...the OP has folders in the GAC? That seems rather strange to me. The GAC and the way Windows finds files there preclude the use of user folders. Phil -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Friday, June 28, 2013 11:52 AM To: General discussion for Windows

Re: [WiX-users] instaling a bundle to install an older msi

2013-07-03 Thread Phil Wilson
t are faulty, fix them and reversion them to be 3700 (or whatever the file versions need to be) and then your RemoveExistingProducts doesn't *need* to be early because all you want your new package to do is replace the few faulty 3699 files while upgrading your MSI product to a higher versi

Re: [WiX-users] Error 2705.Invalid table: Directory; Could not be linked as tree.

2013-07-05 Thread Phil Wilson
table. Phil -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Friday, July 05, 2013 11:16 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Error 2705.Invalid table: Directory; Could not be linked as tree. I have an msi installer that compile fine but when I t

Re: [WiX-users] Should GUIDs be the same in two packages that reference the same component?

2013-07-05 Thread Phil Wilson
here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa370532(v=vs.85).as px Or this if no hashes are used: http://msdn.microsoft.com/en-us/library/windows/desktop/aa370531(v=vs.85).as px Phil Not Spam, honest. -Original Message- From: Alain Forget [mailto:afor...@cmu.edu]

Re: [WiX-users] Error 2705.Invalid table: Directory; Could not be linked as tree.

2013-07-06 Thread Phil Wilson
older like ProgramFiles64Folder in the Directory table on a 32-bit OS may be an issue. Phil -Original Message- From: Marco Tognacci [mailto:mark...@live.it] Sent: Friday, July 05, 2013 12:16 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Error 2705.Inv

Re: [WiX-users] elevated CustomAction with Impersonate = no and Execute="deferred"

2013-07-20 Thread Phil Wilson
pper to launch the MSI, which results in elevation of the custom actions that run with impersonation. Phil -Original Message- From: Chen, Jianxin [mailto:jianxin.c...@bakerhughes.com] Sent: Friday, July 19, 2013 8:35 AM To: Edwin Castro Cc: WiX-users@lists.sourceforge.net Subject: [WiX-users

Re: [WiX-users] Starting a complex project

2013-07-22 Thread Phil Wilson
will need you to look closely at what Windows Installer can do with built-in functionality that NSIS probably doesn't have. Phil -Original Message- From: John Ludlow [mailto:john.ludlow...@gmail.com] Sent: Monday, July 22, 2013 4:43 AM To: General discussion for Windows Installe

Re: [WiX-users] Updating msi database (install time) [P]

2013-07-23 Thread Phil Wilson
still only a record you did a setstring on, nothing more. Your methodology would require you to do a select first, then a view.Fetch to get the record, then change it, then an update of the new record, something like that anyway. Anyway, as Blair points out, you'd need to delete and add a r

Re: [WiX-users] Product Version functions

2013-07-23 Thread Phil Wilson
If you're referring to file versions, I wouldn't be surprised if it's not made available because it's not that complicated to just call MsiGetFileVersion() and parse the results. http://msdn.microsoft.com/en-us/library/windows/desktop/aa370122(v=vs.85).as px Phil -

Re: [WiX-users] Product Version functions [P]

2013-07-23 Thread Phil Wilson
The original reference was to a .cpp file, so I assumed C++ was needed ;) You can use your FileVersionInfo.FileVersion if you insist ;) Phil -Original Message- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Tuesday, July 23, 2013 12:59 PM To: General discussion for

Re: [WiX-users] Remove Existing Products - Not Happening

2013-07-29 Thread Phil Wilson
installed on top of the older one before REP runs, and that follows file replacement rules, so you need to increment file versions for files you want to upgrade. REP earlier is effectively an uninstall followed by a fresh install, but be sure that you want everything uninstalled, including data

Re: [WiX-users] Replace a file in MSI

2013-08-02 Thread Phil Wilson
If it's a data file the MsiFileHash table may need an update. MsiFiler.exe from the Windows SDK might be useful. Phil -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, August 01, 2013 6:57 AM To: chr...@iswix.com; 'General disc

Re: [WiX-users] adding event source during install

2013-08-02 Thread Phil Wilson
to a folder that Windows needs to verify for something like WIN64DUALFOLDERS and something is wrong in the registry. Ok, found a somewhat old kb article: http://support.microsoft.com/kb/292582 Phil -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Wednesday,

Re: [WiX-users] Installation failed, but product updated

2013-08-06 Thread Phil Wilson
version, then Windows tried to uninstall your older version and failed, so it rolls back, but that rollback (reinstalling the failed uninstall) is outside your transaction so you end up with old and new installed. A verbose log is the standard diagnostic. Phil -Original Message-

Re: [WiX-users] Msiexec command prompt when running setup

2013-08-08 Thread Phil Wilson
MWare connections. Something like that anyway. Phil -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, August 08, 2013 6:28 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Msiexec command prompt when running setup Hi, Seeing a st

Re: [WiX-users] Msiexec command prompt when running setup

2013-08-08 Thread Phil Wilson
command prompt" might be useful. This could be something as ordinary as a command prompt window being opened by a command prompt program that's running as a custom action, but I've not previously heard that described as an "msiexec command prompt". Phil -Or

Re: [WiX-users] Installation failed, but product updated

2013-08-08 Thread Phil Wilson
ize and failing (less likely) since both will leave you with two products installed and a mishmash of files. Again, a verbose log is the standard diagnostic. Phil -Original Message- From: Dave Sawyer [mailto:dsaw...@box.com] Sent: Wednesday, August 07, 2013 8:48 PM To: wix-users@

Re: [WiX-users] Msiexec command prompt when running setup

2013-08-09 Thread Phil Wilson
Attachments don't usually work here - I can't see it. Phil W -Original Message- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Friday, August 09, 2013 1:02 AM To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Ms

Re: [WiX-users] I have an installer of an application that needs to be installed over any existing version, regardless of version number. Can this be done using Wix 3.7v ?

2013-08-12 Thread Phil Wilson
y installed version, even products with a higher version than the incoming one. Phil W -Original Message- From: akshayB [mailto:akshay...@gmail.com] Sent: Monday, August 12, 2013 3:57 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] I have an installer of an application that needs

Re: [WiX-users] I have an installer of an application that needs to be installed over any existing version, regardless of version number. Can this be done using Wix 3.7v ?

2013-08-13 Thread Phil Wilson
install it, not setup distributors. Anyway you are right, it's a pain. Phil W -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, August 13, 2013 2:46 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] I have an installer of

Re: [WiX-users] Adding a new dependent file to shared component without breaking component rules

2013-08-13 Thread Phil Wilson
I agree. A common shared component has been updated and it needs fixing in all the products because it can no longer be shared properly. Phil -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: Tuesday, August 13, 2013 10:14 AM To: General discussion for Windows

Re: [WiX-users] Wix and backward compatibility with Visual Studio setup project.

2013-08-14 Thread Phil Wilson
ing like a majorupgrade element or RemoveExistingProducts action. 3. A failing RemoveExistingProducts sequenced after InstallFinalize that rolls back and leaves both old and new entries on the system. As always, a verbose log is the diagnostic. Phil W -Original Message- From: Marlos

Re: [WiX-users] How not to uninstall a file?

2013-08-15 Thread Phil Wilson
ot be overwritten by the new one in your new setup if it's been updated since it was first installed. Phil W -Original Message- From: Marlos Gottschild [mailto:marlos.gottsch...@gmail.com] Sent: Thursday, August 15, 2013 6:08 AM To: General discussion for Windows Installer XML toolse

Re: [WiX-users] Converting VS Setup project to WiX

2013-08-15 Thread Phil Wilson
a non-MSI setup, it won't remove it if the decremented count is greater than zero. At the risk of stating the obvious, MSI setups use component guid ref counting, not the shared Dll ref count. Phil W -Original Message- From: Parkes, Kevin [mailto:kevin.par...@wacom.eu] Sent: Thursda

Re: [WiX-users] How to retain a config file after a Major Upgrade?

2013-08-15 Thread Phil Wilson
e end of the install (see 2) is the way to do that. Phil W -Original Message- From: Kai Peters [mailto:kpet...@otaksoft.com] Sent: Thursday, August 15, 2013 6:51 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to retain a config file after a Majo

Re: [WiX-users] Dependent DLLs of a Custom Action Binary are not getting loaded properly

2013-08-15 Thread Phil Wilson
...and if any of these dependencies turn out to be dependent on a WinSxS C++ runtime Dll, these aren't actually available until InstallFinalize when the install is committed so it's pretty much mandatory to have statically bound C++ runtimes in custom action Dlls and their C++ dependenc

[WiX-users] My posts in your spam....

2013-08-16 Thread Phil Wilson
Apparently many of my posts are arriving in your spam folders.. There may be some useful info there :). I've switched from mvps.org to gmail, so if this gets through ok then presumably it's now working. Phil Wilson

[WiX-users] Repost comment: How not to uninstall a config file or data file.

2013-08-17 Thread Phil Wilson
t overwritten (see 1) and RemoveExistingProducts at the end of the install (see 2) is the way to do that. Phil W -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for prod

Re: [WiX-users] Retrieve the UpgradeCode from a bundle exe?

2013-08-17 Thread Phil Wilson
CloseHandle (viewH); MsiCloseHandle (recH); return res; } StringCchCopy (strVal, dwlen+1, buff); MsiViewClose (viewH); MsiCloseHandle (recH); return (ERROR_SUCCESS); } Phil W On Fri, Aug 16, 2013 at 10:42 PM, dave wrote: > Hi, > > I'm creating some automatic updating code a

Re: [WiX-users] My posts in your spam....

2013-08-18 Thread Phil Wilson
spam, this may be the explanation, but why it's not happening to more people I don't know. Phil On Fri, Aug 16, 2013 at 10:26 PM, Hans ter Horst wrote: > Cheers, indeed I could only find your posts in my spam filter, no matter > how many times I told GMAIL that it wasn't spam;

Re: [WiX-users] Retrieve the UpgradeCode from a bundle exe?

2013-08-19 Thread Phil Wilson
Ok, if that's so then I misunderstood. On Sun, Aug 18, 2013 at 8:25 PM, dave wrote: > Hi, > > The code I've used for an MSI doesn't work with a Wix bundle. I don't > believe it's the same format as MSI so property tables aren't relevant? > > > > -- > View this message in context: > http://windo

Re: [WiX-users] Merge module not working

2013-08-19 Thread Phil Wilson
A couple of other things to look at, assuming you've looked at Blair's comment: One issue with these SxS Dlls is that the policy merge module makes a difference. IIRC, the VC redist exe will install the Dlls and the policy file that redirects requests to the appropriate Dll. So I'd add the policy

Re: [WiX-users] Restore previous windows service if new installation is Failure

2013-08-19 Thread Phil Wilson
When you say "previous windows service" does that mean that you doing an upgrade? If so, it should just work, unless you have RemoveExistingProducts after InstallFinalize. On Mon, Aug 19, 2013 at 10:42 AM, Alain Forget wrote: > Add the "Start" attribute to the ServiceControl element? > > Alain

Re: [WiX-users] Restore previous windows service if new installation is Failure

2013-08-19 Thread Phil Wilson
Aug 19, 2013 at 3:04 PM, David Connet wrote: > Or before InstallInitialize. REP must be within the install transaction. > > Dave > > > > > > From: Phil Wilson > To: afor...@cmu.edu; General discussion for Windows Installer XML >

Re: [WiX-users] Merge module not working

2013-08-20 Thread Phil Wilson
> > > > > Introducing Performance Central, a new site from SourceForge and > > > > > AppDynamics. Performance Central is your source for news, insights, > > > > > analysis and resources for efficient

Re: [WiX-users] Does not appear in the Programs and Features

2013-08-20 Thread Phil Wilson
site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > ___ > WiX

Re: [WiX-users] Expected behaviour

2013-08-21 Thread Phil Wilson
A proper answer will depend on where you have sequenced RemoveExistingProducts. A verbose log will tell you what happened. Phil Wilson On Wed, Aug 21, 2013 at 10:25 AM, wrote: > If a service update (a MajorUpgrade of a service installation) fails for > some reason, and a rollback

Re: [WiX-users] CAQuietExec: Error 0x80070002: CAQuietExec Failed

2013-08-21 Thread Phil Wilson
would be preferable, as suggested. Phil Wilson On Wed, Aug 21, 2013 at 11:04 AM, Nicolás Alvarez wrote: > Even if you could, you *definitely* can't do file redirection with > > without explicitly invoking 'cmd'. > > Either way that looks kinda fragile. Did you cons

Re: [WiX-users] Expected behaviour

2013-08-21 Thread Phil Wilson
transaction and not rolled back. Phil Wilson On Wed, Aug 21, 2013 at 12:04 PM, wrote: > Thanks for answering Phil, > > Unfortunately a verbose log is not available. However, I know that there's > no explicit sequencing of RemoveExistingProducts or anything else for that >

Re: [WiX-users] Fallback when not getting admin rights

2013-08-23 Thread Phil Wilson
I forget what the DropBox install experience was, but when I look at those shell extensions they are all in HKCU, so they are per-user and not per-system. That might work for you too. Phil Wilson On Fri, Aug 23, 2013 at 1:59 AM, Trond Andersen wrote: > I have an application which uses Sh

Re: [WiX-users] why uninstall msp have REINSTALLMODE as all files to be overwritten ?

2013-08-23 Thread Phil Wilson
There are some caveats. I'm pretty sure you need MSI 4.5, and you can't add msidbComponentAttributesShared in the patch - it needs to be in the original product install, in case you're doing that. Phil Wilson On Fri, Aug 23, 2013 at 6:24 AM, william lee wrote: > Hi, >

Re: [WiX-users] [Wix]: Copy the INI file to local temp folder before Install Files action (MSI action)

2013-08-23 Thread Phil Wilson
indows/hardware/ff537782(v=vs.85).aspx Phil Wilson On Fri, Aug 23, 2013 at 7:23 AM, ak m wrote: > Dear All, > > when user clicks MSI, > 1. Copy the INI file to local temp folder before Install Files action (MSI > action) > 2. Get the model information from INI > 3. Install

Re: [WiX-users] Patch doesnot apply to current product

2013-08-23 Thread Phil Wilson
See if this helps: http://blogs.msdn.com/b/heaths/archive/2009/04/12/patch-applicability.aspx Phil Wilson On Thu, Aug 22, 2013 at 3:47 AM, Swaroop Kare wrote: > Hi, > > > >I am able to make Patch1 based on > http://wix.tramontana.co.hu/tutorial/upgrades-and-modularizatio

Re: [WiX-users] wild card search in registry

2013-08-24 Thread Phil Wilson
If the 3rd party uses a consistent UpgradeCode and you're willing to write code you could do an MsiEnumRelatedProducts() on the UpgradeCode to see if any are installed. Phil Wilson On Sat, Aug 24, 2013 at 11:50 AM, Nicolás Alvarez wrote: > 2013/8/23 jo...@msli.com : > > My b

Re: [WiX-users] RegistrySearch example in tutorial

2013-08-26 Thread Phil Wilson
. The NOT INSTALLDIR condition just means "don't set it to default if it's already set". Phil Wilson On Mon, Aug 26, 2013 at 3:42 AM, Blair Murri wrote: > "Adding" is not overridding, it is creating. > That would suggest that there is no InstallDir value at

Re: [WiX-users] [Wix]: Copy INI file to WINDOWS folder before 'InstallFiles' action.

2013-08-26 Thread Phil Wilson
step could extract and add it as a property in the MSI file. There's no point in creating an unreliable solution at install time when you can do this at build time. Phil Wilson On Mon, Aug 26, 2013 at 11:27 AM, Blair Murri wrote: > You read it during InstallFiles? How? > > > Date

Re: [WiX-users] DCOM Launch and Access permissions

2013-08-26 Thread Phil Wilson
I don't know if there's anything more recent, but DCOMPerm can be used for this: http://msdn.microsoft.com/en-us/library/aa242178(v=vs.60).aspx Phil Wilson On Sat, Aug 24, 2013 at 4:20 AM, Benjamin Sole wrote: > Hi there, does anyone know if there is a way to change the launch

Re: [WiX-users] RegistrySearch example in tutorial

2013-08-27 Thread Phil Wilson
The original registry search you posted doesn't have Win64="yes" so it will be a 32-bit registry search if you have an x86 platform install (and it looks like you do). Phil Wilson On Tue, Aug 27, 2013 at 2:29 AM, Blair Murri wrote: > If you are intending to use the 32-bit re

Re: [WiX-users] Error Uninstalling a Wix Burn Bundle

2013-08-27 Thread Phil Wilson
That error is "Another installation is already in progress. Complete that installation before proceeding with this install. ". Does that make sense? Phil Wilson On Tue, Aug 27, 2013 at 11:13 AM, thejohno wrote: > When trying to uninstall a WiX Burn Bundle (WiX 3.6) I get these

Re: [WiX-users] Detecting & copying existing file during install

2013-08-28 Thread Phil Wilson
To copy files from the same location as the MSI file, you should look at using SourceDir as the location. INSTALLLOCATION isn't a standard property, it may be intended to be the directory that the MSI was installed from, but it has no value unless you have already initialized it. Phil W

Re: [WiX-users] stop a service before uninstall

2013-08-29 Thread Phil Wilson
les-in-use dialog. Phil Wilson On Thu, Aug 29, 2013 at 6:55 AM, John Ludlow wrote: > Check the logs. That should tell you what REMOVE and REINSTALL are being > set to, and when they are being set. Look for lines like this: > > MSI (s) (04:4C) [05:39:56:736]: Command Line: REMOVE=AL

Re: [WiX-users] [Wix]: Copy the INI file to local temp folder before Install Files action (MSI action)

2013-08-29 Thread Phil Wilson
his ini file *before* InstallFiles. If it's for a custom action, then run the custom action later. You haven't explained why "before InstallFiles" is a requirement, and it's possible that this is not necessary to get the task done. Phil Wilson On Thu, Aug 29, 2013 at 2:15 AM, John Lu

Re: [WiX-users] Component Rules

2013-08-29 Thread Phil Wilson
If they're not being replaced because of the file modification rules, then you could write a custom action to make the creationdate and modifydate identical, and run it early before InstallValidate. Phil Wilson On Thu, Aug 29, 2013 at 7:00 AM, John Ludlow wrote: > Of course it's a

Re: [WiX-users] Component Rules

2013-08-29 Thread Phil Wilson
I've used it in your scenario - here's an example of the (almost) reverse scenario: http://blogs.msdn.com/b/astebner/archive/2013/05/23/10421023.aspx Phil Wilson On Thu, Aug 29, 2013 at 11:29 AM, wrote: > @Phil Wilson: I like that idea. It seems less destructive than removing &g

Re: [WiX-users] WiX Samples

2013-08-30 Thread Phil Wilson
Good start here: http://wix.tramontana.co.hu/ http://blogs.technet.com/b/alexshev/archive/2008/02/10/from-msi-to-wix.aspx Phil Wilson On Fri, Aug 30, 2013 at 11:47 AM, Kevin Goyena wrote: > I need to create a new WiX project to replace the Setup project I had in > VS2010. My app is

Re: [WiX-users] visual c++ redist merge modules - how to test ?

2013-08-30 Thread Phil Wilson
The merge modules don't get installed as msm files - they get merged into the MSI and their content is installed, so basically you're just looking for the Dlls. Installed location can vary depending on the OS. A verbose log will tell you where. Phil Wilson On Fri, Aug 30, 2013

Re: [WiX-users] FileSearch issues

2013-09-02 Thread Phil Wilson
perty("FILEEXISTS") The custom action correctly shows the file path, and a log of the install shows: MSI (c) (28:38) [10:13:38:811]: PROPERTY CHANGE: Adding FILEEXISTS property. Its value is 'C:\Phil\MyDD\WiX Samples\thing.txt'. So it does all work. I don't think an actual e

Re: [WiX-users] FileSearch issues

2013-09-04 Thread Phil Wilson
xternal file it would be better to have it in the binary table or have the data as properties, and give customers a tool to add the file (or the data) if necessary. Or change the design. Phil Wilson On Wed, Sep 4, 2013 at 7:15 AM, Kai Peters wrote: > Phil, > > your sample code works fo

Re: [WiX-users] Shortcut not being deleted

2013-09-04 Thread Phil Wilson
actually being removed (in case it's shared, permanent). Phil Wilson On Wed, Sep 4, 2013 at 5:23 AM, Alexey Ivanov wrote: > oops http://support.microsoft.com/kb/223300 > > > 2013/9/4 Alexey Ivanov > > > msiexec /i yourfile.msi /L*v c:\temp\yourinstall.log >

Re: [WiX-users] Problem with DirectoryInfo/FileInfo in CA

2013-09-05 Thread Phil Wilson
That text string looks like a possible value for the command line of a program. The .tmp file is the executing custom action and the parameter is -. Is your CA a Dll call via DTF or an executable? Phil Wilson On Thu, Sep 5, 2013 at 4:06 AM, Hendryk Irmischer wrote: > Hello, > >

Re: [WiX-users] Service Uninstall not Removing Service

2013-09-06 Thread Phil Wilson
2. Another sanity check, use Orca to make sure you have a DeleteServices action in an appropriate place. 3. I would not recommend looking at any other solutions until the reason behind this has been found. All this stuff has worked for ever, so check a verbose log, and see what DeleteServices sa

Re: [WiX-users] How to stop web app pool (w3wp.exe) to satisfy Restart Manager?

2013-09-06 Thread Phil Wilson
This seems to be the way, and I assume you'd need to run it as a custom action. There may be APIs underneath that you can call to shut down the pool, I don't know. http://technet.microsoft.com/en-us/library/cc772200(v=ws.10).aspx Phil Wilson On Thu, Sep 5, 2013 at 4:08 AM, Hugh Willi

Re: [WiX-users] Shortcut in the root of start folder - why?

2013-09-09 Thread Phil Wilson
It's probably this, it's just what Windows does. This article is fairly old but the general principle still applies: http://blogs.msdn.com/b/oldnewthing/archive/2005/11/24/496690.aspx Phil Wilson On Mon, Sep 9, 2013 at 9:17 AM, BGINFO4X wrote: > Hello, you are right. > &

Re: [WiX-users] [WIX] How to installing same MSI file twice

2013-09-10 Thread Phil Wilson
w the installed features and allow the user to add the other feature. So yes, you need to change maintenance node to offer feature dialogs, and that will need two features in your MSI as described. Phil Wilson On Tue, Sep 10, 2013 at 6:08 AM, John Cooper wrote: > Instance transforms. But I&#x

Re: [WiX-users] Service Install Password not sent correctly to Windows Service

2013-09-10 Thread Phil Wilson
When you do that through the UI Windows will add the "log on as a service" right to the account. It will not do that during the MSI install. You'll need to make sure that account has the right before the install. Phil Wilson On Tue, Sep 10, 2013 at 9:38 AM, Swaroop Ka

Re: [WiX-users] Custom Action, feature condition and silent install

2013-09-12 Thread Phil Wilson
oo late because CostFinalize is what looks at the feature conditions. Phil Wilson On Thu, Sep 12, 2013 at 9:31 AM, John Cooper wrote: > You're going to have to run in both sequences for it to have an effect > during the UI sequence. Also, keep in mind that only properties that are > bo

Re: [WiX-users] Adding installed file location into registry - VS2010 developed Word plugin

2013-09-17 Thread Phil Wilson
I don't know of anything built-in. You'd need code - in managed code you use the UriBuilder class. Phil Wilson On Sun, Sep 15, 2013 at 1:47 PM, 4th Dimension wrote: > I need to add the location of a certain file into the registry as the part > of the instalation of a Word

Re: [WiX-users] Execution order issue

2013-09-18 Thread Phil Wilson
Your copy custom action is immediate - that means it will always happen before any files are actually copied. If you need it to run after InstallFiles has physically copied files it should be marked deferred. Phil Wilson On Tue, Sep 17, 2013 at 10:45 PM, Kai Peters wrote: > Hi

Re: [WiX-users] Detecting a different product install

2013-09-18 Thread Phil Wilson
Is there some reason you can't do a major upgrade to remove it? If you know its UpgradeCode you can get it uninstalled. Phil Wilson On Tue, Sep 17, 2013 at 5:56 PM, Jack Sojourn wrote: > Hello...I need to detect if a totally different product is installed and if > so uninstall it. &

Re: [WiX-users] Execution order issue

2013-09-19 Thread Phil Wilson
replace the one you already copied - what do have to prevent that from happening? You may also need a condition on your copy to prevent it from happening during a repair or uninstall Phil Wilson On Wed, Sep 18, 2013 at 5:48 PM, Kai Peters wrote: > My mistake for not specifying what else

Re: [WiX-users] help! how do I install .net 4.5 from my installer ?

2013-09-19 Thread Phil Wilson
Use a command line that suits your requirements: http://blogs.msdn.com/b/astebner/archive/2010/05/12/10011664.aspx although I wouldn't make it so silent it will not show an error message if it fails. Phil Wilson On Wed, Sep 18, 2013 at 11:20 PM, nkshirsagar wrote: > Is there any othe

Re: [WiX-users] Service Install Password not sent correctly toWindows Service

2013-09-19 Thread Phil Wilson
You're kind of stuck. You've committed to supply credentials at install time, but you need to supply them for patch and repair, so you need to store them somewhere. If the registry is not allowed then write a custom action with the Crypto API, things like CredWrite, CredRead etc. Phil W

Re: [WiX-users] Service Install Password not sent correctlytoWindows Service

2013-09-19 Thread Phil Wilson
m-the-windows-vault-credential-manage Phil Wilson On Thu, Sep 19, 2013 at 9:18 AM, Swaroop Kare wrote: > Thanks Phil for your suggestion. > > > > It would be helpful if there is any sample code of implementing crypto > api in wix. > > > > > > -

Re: [WiX-users] Getting Duplicate Entries in Add/Remove Programs

2013-09-20 Thread Phil Wilson
be the same as the already installed product. A verbose log should tell you which, and the ProductVersion comment about "other installers" is not relevant if they were not MSI setups, see the link there. Phil Wilson On Fri, Sep 20, 2013 at 6:46 AM, Daniel Sniderman wrote: > 1)

Re: [WiX-users] Execution order issue

2013-09-20 Thread Phil Wilson
Indeed, the original post seems to say that the issue is that InstallFiles is after the copy CA. It's not clear why the CA cannot be just moved to after InstallFiles. Phil Wilson On Thu, Sep 19, 2013 at 1:35 PM, Blair Murri wrote: > Now that your CA is deferred, what happens if you

Re: [WiX-users] Uninstall removing user data

2013-09-22 Thread Phil Wilson
7;m having a senior moment too) Phil Wilson On Sat, Sep 21, 2013 at 10:50 AM, Christopher Painter wrote: > I'm having a senior moment with what seemed like a pretty simple and well > established concept in windows installer: don't uninstall user data. > > I created a ver

Re: [WiX-users] Type Mismatch error when you repair build

2013-09-24 Thread Phil Wilson
alues that don't exist at repair time. In these cases it's usually easier to diagnose the error in the app and see what's broken on the system (such as registration) rather than hunt through an install repair log to find something that you don't even know you're looking

Re: [WiX-users] changes to support upgrades ? help !

2013-09-25 Thread Phil Wilson
rade install is also a fresh install for new users, just to spell it out. Phil Wilson On Wed, Sep 25, 2013 at 3:19 AM, nkshirsagar wrote: > hi kiran, > > if the user selects a different installation folder for the new msi, how > will the clusterinfo.bin file get copied over

Re: [WiX-users] changes to support upgrades ? help !

2013-09-26 Thread Phil Wilson
ement to copy the file from that old location to the new install location. The source and destination will be properties, source that old location and destination the new install location. Plus the usual MajorUpgrade element changes etc for the upgrade. Phil Wilson On Thu, Sep 26, 2013 at 1:

Re: [WiX-users] How to set Title in Summary Information Stream

2013-09-27 Thread Phil Wilson
Those values in a patch do not come from the summaryinformation stream in the pcp file. They come from the PatchMetadata table of the pcp file. Phil Wilson On Fri, Sep 27, 2013 at 2:48 AM, kirannhegde wrote: > I have a similar problem as follows: > I am building a patch package

Re: [WiX-users] WiX disaster -- how did I cause it?

2013-09-30 Thread Phil Wilson
t-click the MSI file or go to Programs/Features and ask for a repair and you're rebooting again, so take Rob's point and find out why it's happening. Phil Wilson On Mon, Sep 30, 2013 at 7:13 AM, Charles Jenkins wrote: > Oops. Pardon the noise. I see I can't just set Adver

Re: [WiX-users] WiX disaster -- how did I cause it?

2013-09-30 Thread Phil Wilson
s normal, and the serious issue is the reboot. If the setup has a ForceReboot (or ScheduleReboot) explicitly defined, that's likely to be a problem if it happens for each repair. Phil Wilson On Mon, Sep 30, 2013 at 9:59 AM, Charles Jenkins wrote: > As always, thank you all for trying to help

Re: [WiX-users] CA not logging anything on button press

2013-10-04 Thread Phil Wilson
Is it really a known issue? It's documented here below, so it doesn't seem like an issue in the sense that it's contrary to the documentation. http://msdn.microsoft.com/en-us/library/windows/desktop/aa368322(v=vs.85).aspx which suggests using script session.message method. Phil

Re: [WiX-users] WiX disaster -- how did I cause it?

2013-10-04 Thread Phil Wilson
eduleReboot (or ForceReboot) action with an incorrect condition. It's typically futile to prevent repair because there are several ways they can be initiated, shortcuts being just one of them. Phil Wilson On Fri, Oct 4, 2013 at 7:10 AM, Charles Jenkins wrote: > Nicolás, > > Wow, tha

Re: [WiX-users] Disable verbose log for MSIPackage in Burn

2013-10-05 Thread Phil Wilson
t.com/en-us/library/windows/desktop/dd408005(v=vs.85).aspx It's a bad idea to mark files as not key files. Phil Wilson On Sat, Oct 5, 2013 at 3:34 AM, Marco Tognacci wrote: > My problem is that my Burn setup is very very slow, compared with the old > Installshield setup. > For

Re: [WiX-users] InstallDefault="followParent" not reflected by windows installer UI

2013-10-05 Thread Phil Wilson
Condition table isn't used either. It's just the way Windows Installer works, not really an MBA thing. Phil Wilson On Sat, Oct 5, 2013 at 8:41 AM, tom wrote: > > What is more conusing me is that when i also set > msidbFeatureAttributesUIDisallow > > On B1 it will inst

Re: [WiX-users] WiX disaster -- how did I cause it?

2013-10-05 Thread Phil Wilson
log asking whether to do it. A limited user can't say no :) Phil Wilson On Fri, Oct 4, 2013 at 11:07 AM, Charles Jenkins wrote: > Nicolás, > > I like your theory… It seems very plausible. Unfortunately, the .exe is > versioned, and so is every one of its .dlls. I double-checked by

Re: [WiX-users] ow to get the current directory of msi is running from?

2013-10-08 Thread Phil Wilson
situations where it appears you have a solution that you believe is correct for a particular problem, and you are looking for implementation help. It's likely that a question such as "what's the best way to launch a dependent setup with my MSI install" might get you a better solu

Re: [WiX-users] ProgressBar issue

2013-10-08 Thread Phil Wilson
eCost element can be used to add extra time to a component to fine tune the actual cost. Phil Wilson On Fri, Oct 4, 2013 at 4:54 AM, Ravishankar < ravishankar.krishnasw...@idsnext.com> wrote: > Hi, > I have a very peculiar issue. > > My installation files is around 600 mb and if i i

Re: [WiX-users] Exe output required without bootstrapper

2013-10-09 Thread Phil Wilson
it's still an MSI file setup and may or may not satisfy the requirement. Phil Wilson On Wed, Oct 9, 2013 at 2:55 AM, Blair Murri wrote: > Currently in WiX 3.x only Windows Installer is supported as the underlying > installation engine. There was a previous attempt to support ClickTh

Re: [WiX-users] How to get the current directory of msi is running from?

2013-10-09 Thread Phil Wilson
And DATABASE is not a documented property - I wouldn't use it. Phil Wilson On Wed, Oct 9, 2013 at 3:11 AM, Blair Murri wrote: > And you were already warned in your other posting of the same question > about some of the issues you could run into. You haven't described what you

  1   2   3   4   5   6   7   8   9   10   >