Re: [WiX-users] Uninstall running very Slow....

2015-07-07 Thread Phil Wilson
no change that you can make to the MSI to speed it up and it's all internal installer actions then get it looked at by Microsoft. As for detecting that the uninstall is slow, surely the progress bar already shows that. --- Phil Wilson On Tue, Jul 7, 2015 at 7:14 AM, TimM timmay

Re: [WiX-users] Problem durring major upgrade /qb or /qn

2015-07-07 Thread Phil Wilson
be installed. --- Phil Wilson On Tue, Jul 7, 2015 at 1:54 AM, AleksL lyas...@gmail.com wrote: I don't think so. I am testing on Virtual machine. First, I run test_setup_1, then do snapshot and do major update on test_setup_2 in quiet mode. After analyzing results I restore

Re: [WiX-users] Problem durring major upgrade /qb or /qn

2015-07-07 Thread Phil Wilson
My apologies, I'm going too fast and not looking properly - I need to look again. --- Phil Wilson On Tue, Jul 7, 2015 at 12:40 PM, AleksL lyas...@gmail.com wrote: Hello, Phil. Thank you for answer. But I don't clear understand. /Q log shows Product registered: entering

Re: [WiX-users] Setting Compatibility Mode on shortcut for all users

2015-07-06 Thread Phil Wilson
It might be works as designed. Raymond Chen appears adamant that it shouldn't be done in an install anyway: http://blogs.msdn.com/b/oldnewthing/archive/2010/03/11/9976571.aspx --- Phil Wilson On Mon, Jul 6, 2015 at 9:52 AM, Chris Moxon chris.mo...@eque2.com wrote: I have a msi

Re: [WiX-users] Problem durring major upgrade /qb or /qn

2015-07-06 Thread Phil Wilson
There appears to be something wrong with your test methodology. The quiet log shows a run that finds an upgrade, but then you run the UI install and that log says Product registered: entering maintenance mode and Skipping FindRelatedProducts action: not run in maintenance mode, and Skipping

Re: [WiX-users] Problem durring major upgrade /qb or /qn

2015-07-03 Thread Phil Wilson
If you have the entire log post it somewhere. There may be a custom action or something else in the UI sequence that won't happen in the execute sequence, just as possible reasons. --- Phil Wilson On Fri, Jul 3, 2015 at 3:29 AM, AleksL lyas...@gmail.com wrote: Hello. I have

Re: [WiX-users] upgrade fails with 1612 error

2015-07-01 Thread Phil Wilson
If you look at those logs the issue is as I described: Warning: Local cached package 'C:\Windows\Installer\3d3d06.msi' is missing. --- Phil Wilson On Wed, Jul 1, 2015 at 11:38 AM, gapearce mr_gapea...@yahoo.com wrote: Sorry, here are the two logs. Setup_AACU_2015-06-30_17-43-54

Re: [WiX-users] upgrade fails with 1612 error

2015-06-30 Thread Phil Wilson
source. More of the log before this part would help. --- Phil Wilson On Tue, Jun 30, 2015 at 10:40 AM, Rob Mensching r...@firegiant.com wrote: It appears the old MSI requires it's source (that's a big no-no on uninstall). Can you successfully uninstall it directly (i.e. not via

Re: [WiX-users] Why does a patch build include same versioned dlls?

2015-06-25 Thread Phil Wilson
admin images (see IgnoreMissingSrcFiles in PCP file) so it turned out to be easier to just supply the binaries that were functionally different, with their higher files versions of course. --- Phil Wilson On Thu, Jun 25, 2015 at 6:50 AM, Rob Mensching r...@firegiant.com wrote: IIRC

Re: [WiX-users] Windows service doesn't remove from services.msc in windows 8 using WIX shortcut (C#)

2015-06-24 Thread Phil Wilson
. --- Phil Wilson On Wed, Jun 24, 2015 at 1:17 PM, Nir Bar nir@panel-sw.com wrote: Sometimes Windows marks a service for deletion after restart. In this case you would see the service in the services UI until after restart. - Nir Bar Freelance Developer Mail: nir@panel-sw.com Web

Re: [WiX-users] Windows Installer Cache - gone!

2015-06-18 Thread Phil Wilson
. If there is an installed product that was then patched, the base MSI can be provided, but since the installed product consists of MSI+patches, the actual installed product can't be rebuilt. It may ask for the patch in that situation. It looks like you have some testing to do. --- Phil

Re: [WiX-users] Detect Bundle-driven installation?

2015-06-17 Thread Phil Wilson
I don't know if WiX does anything but could you just add something to the command line, such as BUNDLE={bundle guid] so you can condition things in the MSI on BUNDLE --- Phil Wilson On Wed, Jun 17, 2015 at 3:39 AM, Reuss, Matthias matthias.mr.re...@sivantos.com wrote: Hello

Re: [WiX-users] Using arbitrary shell folders as the target Directory

2015-06-15 Thread Phil Wilson
...and of course I mean ALLUSERS --- Phil Wilson On Mon, Jun 15, 2015 at 3:33 PM, Phil Wilson phildgwil...@gmail.com wrote: There is a built-in (to Windows Installer) equivalent to CSIDL_COMMON_STARTMENU and that's the ProgramMenuFolder property, with ALLUSER=1. https

Re: [WiX-users] Using arbitrary shell folders as the target Directory

2015-06-15 Thread Phil Wilson
There is a built-in (to Windows Installer) equivalent to CSIDL_COMMON_STARTMENU and that's the ProgramMenuFolder property, with ALLUSER=1. https://msdn.microsoft.com/en-us/library/aa370882(v=vs.85).aspx That sounds like what you're looking for. --- Phil Wilson On Mon, Jun 15, 2015

Re: [WiX-users] Is there a way to specify major version greater than 255?

2015-06-12 Thread Phil Wilson
).aspx It is what it is, as they say. --- Phil Wilson On Fri, Jun 12, 2015 at 3:17 AM, kpanilkumarmca kpanilkumar@gmail.com wrote: Hi, I believe windows installer will not accept major version greater than 255. If we specify, we will encounter error like below: error CNDL0242

Re: [WiX-users] Error 1721

2015-06-10 Thread Phil Wilson
there and if dpinst.exe was there and so on. --- Phil Wilson On Tue, Jun 9, 2015 at 1:17 PM, Brett Cunningham bret...@gmail.com wrote: I have the attached Wix file. It compiles just fine. When running the installer, I get the message: There is a problem with this Windows Installer package

Re: [WiX-users] GAC PubPolicy Files on Windows Server 2016 Technical Preview?

2015-06-10 Thread Phil Wilson
be in the same component, in case that's the issue. --- Phil Wilson On Tue, Jun 9, 2015 at 3:02 PM, John Cooper jocoo...@jackhenry.com wrote: Are you using GACUTIL or the attributes on the File element to GAC? -- John Merryweather Cooper Senior Software Engineer | Integration

Re: [WiX-users] Remove InstallShield Bootstrapper MSI

2015-06-04 Thread Phil Wilson
Why not ask in an InstallShiekd forum how the InstallShield upgrade mechanism works in the context of an upgrade? --- Phil Wilson On Wed, Jun 3, 2015 at 10:22 PM, Johri, Mohit IN BLR STS mohit.jo...@siemens.com wrote: Hi All, Did anyone got into the same kind of issue, please help

Re: [WiX-users] 1910 Error Removing Desktop Shortcuts

2015-06-01 Thread Phil Wilson
. --- Phil Wilson On Sun, May 31, 2015 at 2:55 PM, Jammer jam...@jammer.biz wrote: Hi All, I'm using WiX 3.9 Toolset and I have just noticed that when Uninstalling my application I get the dreaded 1910 Error removing the desktop shortcut. I've looked over various solutions

Re: [WiX-users] Accessing files copied to the ProgramFiles folder during the installation

2015-05-22 Thread Phil Wilson
- a variation on Phill's idea would be for the app to copy the template to that location from CommonAppData when the app first runs. --- Phil Wilson On Thu, May 21, 2015 at 11:25 AM, Phill Hogland phogl...@rimage.com wrote: You might consider, for a per-machine setup, installing

Re: [WiX-users] Accessing files copied to the ProgramFiles folder during the installation

2015-05-21 Thread Phil Wilson
correct but practical solution is PermissionEx (or the util equivalent). --- Phil Wilson On Thu, May 21, 2015 at 8:54 AM, Eddie Lascu ela...@ibigroup.com wrote: I have created an installation package that installs our application in the Directory Id=ProgramFiles64Folder folder. One

Re: [WiX-users] MsiSetFeatureState doesn't seem to be working

2015-05-21 Thread Phil Wilson
Maybe MsiSetInstalLevel()? --- Phil Wilson On Wed, May 20, 2015 at 5:38 PM, Joel Budreau joel.budr...@gmail.com wrote: Hmm, turns out that MsiSetFeatureState() won’t actually install a feature if the feature had it’s InstallLevel set to ‘0’ by the Condition table. Now, to find

Re: [WiX-users] Getting ProductVersion of an msi from wix

2015-05-20 Thread Phil Wilson
that if if the other product is uninstalled and you now need those files then a repair would install them. --- Phil Wilson On Tue, May 19, 2015 at 9:04 PM, Rajesh Nagpal rnag...@microsoft.com wrote: Ok Let me try this time to state the problem:) We have a legacy setup installer

Re: [WiX-users] Getting ProductVersion of an msi from wix

2015-05-19 Thread Phil Wilson
is why it might help to know the problem your detection of that product is going to solve. --- Phil Wilson On Mon, May 18, 2015 at 4:24 PM, Rajesh Nagpal rnag...@microsoft.com wrote: Hi Phil, Comments inline for your queries: /It might help to say why you want to do this and what

Re: [WiX-users] Error 2911: Could not remove the folder C:\Config.Msi\.

2015-05-16 Thread Phil Wilson
Sometimes the SYSTEM account loses access to folders like that, so I'd look at the security settings on the folder. It works when you do this with elevated admin privileges because administrators can delete that folder. --- Phil Wilson On Sat, May 16, 2015 at 2:56 AM, Miroslav Rodic

Re: [WiX-users] Getting ProductVersion of an msi from wix

2015-05-15 Thread Phil Wilson
#. --- Phil Wilson On Thu, May 14, 2015 at 5:11 PM, Rajesh Nagpal rnag...@microsoft.com wrote: Thanks Nir for the response! As I mentioned, the ProductCode in my case is changing with every new build of the msi, so I cannot search for it as it's not fixed. I was looking into RegistrySearch

Re: [WiX-users] Per-User Previlage To Write to Program Files

2015-05-11 Thread Phil Wilson
told to do. At this point it's about best practices, and deterministic installs that are fit for the enterprise. I don't believe InstallShirld LE setups (or Visual Studio installer projects) are fit for that. --- Phil Wilson On Mon, May 11, 2015 at 10:28 AM, Jeremy Farrell

Re: [WiX-users] Per-User Previlage To Write to Program Files

2015-05-11 Thread Phil Wilson
by calling a custom action called SetAllUsersProfile2k. If a limited user installs it then it won't go to ProgramFiles folder. --- Phil Wilson On Mon, May 11, 2015 at 9:05 AM, Rob Mensching r...@firegiant.com wrote: In this case, a verbose log file would be more useful

Re: [WiX-users] Per-User Previlage To Write to Program Files

2015-05-08 Thread Phil Wilson
it requires removing files from Program Files) then prompt for a manual uninstall. Use OnlyDetect in an upgrade element. If the app itself doesn't work unless it installed to the Program Files folder than it's broken because that destination is a choice, not a mandatory location. --- Phil

Re: [WiX-users] specifying an installed executable to be run at boot time

2015-05-07 Thread Phil Wilson
to run a program at boot time is to make it a service, and obviously don't show UI. --- Phil Wilson On Thu, May 7, 2015 at 2:54 AM, Rob Mensching r...@firegiant.com wrote: Or run it from the per-machine Run key to be elevated

Re: [WiX-users] No reboot for locked files during uninstallation.

2015-05-06 Thread Phil Wilson
like it. Or perhaps more obviously you could use the WiX CloseApplication method of telling the app to shut down, or even roll your own code in a CA to tell the app to shut down. --- Phil Wilson On Wed, May 6, 2015 at 10:28 AM, Kashif Md. mdkashi...@gmail.com wrote: I don't think

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Phil Wilson
Correct, docs here: https://msdn.microsoft.com/en-us/library/aa370531(v=vs.85).aspx --- Phil Wilson On Tue, May 5, 2015 at 12:07 PM, Pavan Konduru pavan.kond...@accelrys.com wrote: Thank you Phil for your response. From what I get you are saying: --There is a file X

Re: [WiX-users] File not getting overwritten

2015-05-05 Thread Phil Wilson
modified and creation dates the same at install time so it can see that the file has been altered. --- Phil Wilson On Tue, May 5, 2015 at 10:54 AM, Pavan Konduru pavan.kond...@accelrys.com wrote: Hi All, We have an installer that basically is trying to overwrite some files

Re: [WiX-users] No reboot for locked files during uninstallation.

2015-05-05 Thread Phil Wilson
is that if Windows Installer can remap the in-use Dlls to another location, keep any apps running, and replace the ones that were in use (but remapped) and all that's required is deleting a bit of non-essential junk at the next reboot then why force a reboot? --- Phil Wilson On Tue, May 5

Re: [WiX-users] Reboot and ReallySuppress

2015-05-01 Thread Phil Wilson
. REBOOT=R is perhaps not propagated to the uninstall of the older product. Even so, I see nothing obvious there. --- Phil Wilson On Tue, Apr 28, 2015 at 3:26 PM, Henri Hein he...@thinair.com wrote: Thanks, Phil. Here's a link to the full log file: http://1drv.ms/1JyRdgH I should have

Re: [WiX-users] Reboot and ReallySuppress

2015-04-28 Thread Phil Wilson
You should probably post a link to the entire log for others to see. For example, I don't know if you've looked at the possibility that a custom action is resetting the REBOOT property somewhere. --- Phil Wilson On Tue, Apr 28, 2015 at 1:15 PM, Henri Hein he...@thinair.com wrote

Re: [WiX-users] Restart - setting from CA and checking from Custon BA

2015-04-27 Thread Phil Wilson
If you can call MsiSetMode (installation handle, MSIRUNMODE_REBOOTATEND) then that will result in a ERROR_SUCCESS_REBOOT_REQUIRED returned (assuming no other errors). --- Phil Wilson On Mon, Apr 27, 2015 at 7:05 AM, ronif ro...@microsoft.com wrote: Hi, Is it possible to set in my

Re: [WiX-users] Restart Manager doesn't preserve folders open in Windows Explorer after restart.

2015-04-24 Thread Phil Wilson
Is this really a Restart Manager thing? As far as I know it's just Window Explorer=Tools=Folder Options=View and set Restore previous folder windows at logon. --- Phil Wilson On Thu, Apr 23, 2015 at 10:43 PM, Kashif Md. mdkashi...@gmail.com wrote: No one using Restart Manager

Re: [WiX-users] How to catch the error and cancel installation

2015-04-23 Thread Phil Wilson
, and it just means that they have all been enumerated. In other words that code is incorrect because 259 is not a real error in these cases. It's saying you can't have the next one because there are no more. --- Phil Wilson On Thu, Apr 23, 2015 at 4:15 AM, RonnyS ronnys.cod...@gmail.com wrote

Re: [WiX-users] Too Many Events Using InstallLogModes

2015-04-22 Thread Phil Wilson
Can't you put a switch statement in your code to figure this out? Look for MSIHandle text in each type? Or simply prefix the message with the message type before logging it? Well at least temporarily to see what's going on anyway. --- Phil Wilson On Wed, Apr 22, 2015 at 7:30 AM

Re: [WiX-users] Too Many Events Using InstallLogModes

2015-04-21 Thread Phil Wilson
Seems unlikely to be the Terminate setting. This is the base documentation: https://msdn.microsoft.com/en-us/library/aa370573(v=vs.85).aspx that the interop is mapping to. --- Phil Wilson On Tue, Apr 21, 2015 at 1:39 PM, Mark A. Richman m...@markrichman.com wrote: I discovered

Re: [WiX-users] Power Fail during Installation

2015-04-17 Thread Phil Wilson
It continues the installation. It will set the RESUME property, and properly authored UI installs will show a Resume dialog saying that the install is resuming. --- Phil Wilson On Fri, Apr 17, 2015 at 3:03 AM, Martin Cornelius martin-cornel...@t-online.de wrote: Apologize

Re: [WiX-users] Major upgrade: a few files are not installed

2015-04-14 Thread Phil Wilson
and upgrade, causing this issue, to which the solution appears to be to give them a new Guid so that all the guids in the upgrade are diifferent from the installed product. --- Phil Wilson On Mon, Apr 13, 2015 at 5:54 PM, Rob Mensching r...@firegiant.com wrote: You should root cause why higher

Re: [WiX-users] [WIX]: How to display UAC prompt as much early as possible

2015-04-06 Thread Phil Wilson
the elevation shield because of those settings, but tthe shield isn't what causes elevation. It's a consequence of a button control that has the ElevationShield attribute set telling you the elevation will occur. --- Phil Wilson On Mon, Apr 6, 2015 at 7:18 AM, Dileep S dileep.sanamp

Re: [WiX-users] Using burn to download, unzip, install package

2015-04-02 Thread Phil Wilson
need to download it every time anyway. --- Phil Wilson On Thu, Apr 2, 2015 at 10:48 AM, Rob Mensching r...@firegiant.com wrote: I would let Burn do all the downloading but if you can't just create process the package, then you'll have to write something that can be create processed

Re: [WiX-users] Registering TypeLib in both native and Wow6432Node

2015-03-29 Thread Phil Wilson
entries just tell COM how to move data between COM clients and servers. --- Phil Wilson On Fri, Mar 27, 2015 at 2:10 PM, Samer Vazdekis sbazd...@yahoo.com wrote: HI there, I am installing a x64 bit app along with a 32-bit dll. The 32-bit DLL is being hosted in a 32-bit dllhost. Both

Re: [WiX-users] Which Process Executes Custom Actions

2015-03-27 Thread Phil Wilson
. An immediate CA will be a different msiexec.exe process, one that's running with the installing user's credentials, so it can get complicated. Is there a problem somewhere? --- Phil Wilson On Fri, Mar 27, 2015 at 9:48 AM, Edwin Castro egca...@gmail.com wrote: I have two custom action functions

Re: [WiX-users] Keep Desktop Shortcuts and Pinned Task Bar Icons with Upgrades

2015-03-26 Thread Phil Wilson
installation, there are only file replacement rules, and guids that are no longer in use being deleted, so the same guids must be used for the same files for this type of upgrade to be successful. The same is true of patches, minor upgrades. --- Phil Wilson On Thu, Mar 26, 2015 at 7:47

Re: [WiX-users] Prevent run of Custom action if product is installed.

2015-03-23 Thread Phil Wilson
if the product is not already installed. --- Phil Wilson On Mon, Mar 23, 2015 at 9:43 AM, Sarvagya Pant sarvagya.p...@gmail.com wrote: Hi Rob, Thanks. I think RemoveFolderEx is present in WixUtil. I will give it a go. For the user to prevent running installer again, if product is installed, How

Re: [WiX-users] Create text file

2015-03-20 Thread Phil Wilson
, install location etc then longer term maybe teach the app how to use APIs like MsiGetProductInfo() to get that information directly from Windows. --- Phil Wilson On Fri, Mar 20, 2015 at 10:09 AM, Lars laasu...@hotmail.com wrote: That is a separate issue and not possible in our system

Re: [WiX-users] Repair does not repair data files

2015-03-17 Thread Phil Wilson
version. --- Phil Wilson On Tue, Mar 17, 2015 at 10:10 AM, Hoover, Jacob jacob.hoo...@greenheck.com wrote: You can tell windows installer to do it from the command line. https://msdn.microsoft.com/en-us/library/aa371182(v=vs.85).aspx a Force all files to be reinstalled

Re: [WiX-users] bizarre trying to install MSI but it thinks it is installed but can't find any references to it

2015-03-17 Thread Phil Wilson
with an installed product. --- Phil Wilson On Tue, Mar 17, 2015 at 7:23 AM, Hoover, Jacob jacob.hoo...@greenheck.com wrote: Do you have the original logs from the bundle and service install MSI? The only safe way to uninstall would be to modify the service install MSI (Use Orca

Re: [WiX-users] Repair does not repair data files

2015-03-17 Thread Phil Wilson
the repair. --- Phil Wilson On Tue, Mar 17, 2015 at 5:20 AM, Даниил Мусиенко musie...@ascon.ru wrote: Hello, I made a installer with wix. It installs some executable and data files. If I change executable files and repair installation all changed files will be replaced by original files

Re: [WiX-users] Replace files added in minor upgrade

2015-03-16 Thread Phil Wilson
or component could cause an issue. There are more variables involved then just the file being new. A verbose log might tell you what's going on. --- Phil Wilson On Sun, Mar 15, 2015 at 6:28 PM, Ramjot ramjot.si...@hotmail.com wrote: No in that case it will place 1.3 version file. My

Re: [WiX-users] Replace certain changed files in a major upgrade

2015-03-16 Thread Phil Wilson
That's probably because you have sequenced the major upgade late which results in file replacement rules being followed. Try sequencing after InstallInitialize to get a full uninstall of the older product followed by the the install of the new one. --- Phil Wilson On Mon, Mar 16

Re: [WiX-users] Reboots

2015-03-12 Thread Phil Wilson
and offer the reboot choice, if that is sufficient for you. Otherwise you might get two, yours and the Windows one. --- Phil Wilson On Tue, Mar 10, 2015 at 1:11 PM, Ivanoff, Alex alex.ivan...@shavlik.com wrote: I have two questions related to reboots. 1. How do I tell Windows Installer

Re: [WiX-users] Reboots

2015-03-12 Thread Phil Wilson
MsiDoAction() on ScheduleReboot might work - I'm not sure if that's the underlying method that Rob is referring to. --- Phil Wilson On Wed, Mar 11, 2015 at 1:09 PM, Rob Mensching r...@firegiant.com wrote: wcautil.lib provides a mechanism to do

Re: [WiX-users] how to extract string from registry entry [P]

2015-03-09 Thread Phil Wilson
As it says here: http://wixtoolset.org/documentation/manual/v3/customactions/shellexec.html it's more common to use a shell execute on a URL to launch the default program, if that works in your scenario. --- Phil Wilson On Mon, Mar 9, 2015 at 5:46 AM, Steven Ogilvie steven.ogil

Re: [WiX-users] Issue with Upgrade/Install

2015-03-02 Thread Phil Wilson
be the correct one, and that does not mean one with the same name - it means same packagecode, product code etc. --- Phil Wilson On Mon, Mar 2, 2015 at 9:10 AM, Ashish Agarwal ash...@mangoapps.com wrote: Hello Everyone, We are facing an issue during an upgrade of our Product on one

Re: [WiX-users] EnableUserControl (or Secure attribute) vs Maintenance (Change)

2015-02-18 Thread Phil Wilson
for critical startup functions, being so privileged it's disabled by default. I believe that's part of the answer. --- Phil Wilson On Wed, Feb 18, 2015 at 6:11 AM, Tony yellowjacketl...@gmail.com wrote: Anyone understand what is happening in this scenario? I know how to 'fix' the issue, I

Re: [WiX-users] UAC and VSIX problem

2015-02-16 Thread Phil Wilson
and the custom action. --- Phil Wilson On Mon, Feb 16, 2015 at 2:05 AM, Majcica, Mario mario.majc...@bakerhughes.com wrote: Hi all, I am installing a VSIX package via VSExtensions. On machine where UAC is enabled it fails to install. It seems that the rights are not propagated once

Re: [WiX-users] [WIX]: UAC message display behavior in WIX

2015-02-13 Thread Phil Wilson
The only way to run the UI sequence in elevated mode is to run it (in a CreateProcess way that transfers privilege) from an elevated process, such as an executable with an elevation manifest. --- Phil Wilson On Fri, Feb 13, 2015 at 12:19 AM, Dileep S dileep.sanamp...@gmail.com wrote

Re: [WiX-users] [WIX]: UAC message display behavior in WIX

2015-02-09 Thread Phil Wilson
It doesn't elevate until it needs to, which is when it starts the actual execute sequence. In other words the UI sequence runs unelevated which is why custom actions requiring elevation don't work there. --- Phil Wilson On Mon, Feb 9, 2015 at 8:47 AM, Hoover, Jacob jacob.hoo

Re: [WiX-users] Custom action System.IO.DirectoryNotFoundException on second Installation

2015-02-05 Thread Phil Wilson
The proper way is RemoveFile. Windows Installer supplies these things so you don't need to write code and get yourself in this kind of trouble :) --- Phil Wilson On Wed, Feb 4, 2015 at 7:47 PM, Sarvagya Pant sarvagya.p...@gmail.com wrote: Hi Phil and Jacob. One approach I could do

Re: [WiX-users] Custom action System.IO.DirectoryNotFoundException on second Installation

2015-02-04 Thread Phil Wilson
custom actions are not elevated (even if the installing user is an admin). That's most likely the reason why you can't write to that location. --- Phil Wilson On Wed, Feb 4, 2015 at 6:48 AM, Hoover, Jacob jacob.hoo...@greenheck.com wrote: Is the file/directory in use when the delete

Re: [WiX-users] Problems running heat under LocalSystem service

2015-01-30 Thread Phil Wilson
The issue is likely to be the same as other attempts to reference user profile locations (temp folders, app data folders etc) for an account that doesn't have them, that's my understanding. --- Phil Wilson On Fri, Jan 30, 2015 at 8:38 AM, Tunney, Stephen stephen.tun...@nuance.com

Re: [WiX-users] custom action logging?

2015-01-30 Thread Phil Wilson
--- Phil Wilson On Fri, Jan 30, 2015 at 8:57 AM, ALFORD Jack jack.alf...@hexagonmetrology.com wrote: I have a custom action that when called as a check in the InstallUISequence writes data to the log file via session.Log stmts. But when a different method in the same custom action

Re: [WiX-users] Custom Action after a Dialog

2015-01-29 Thread Phil Wilson
Maybe after a dialog means when the Next button is clicked, if so this is relevant: http://wix.tramontana.co.hu/tutorial/events-and-actions/control-your-controls --- Phil Wilson On Thu, Jan 29, 2015 at 7:49 AM, Joel Budreau joel.budr...@gmail.com wrote: Hey Nagesh, What you’re

Re: [WiX-users] seeing if a MSI is running using mutex... [P]

2015-01-28 Thread Phil Wilson
I believe so, yes. --- Phil Wilson On Wed, Jan 28, 2015 at 7:22 AM, Steven Ogilvie steven.ogil...@titus.com wrote: Classification: Public So I presume a WAIT_ABANDONED means that a MSI is running? -Original Message- From: Phil Wilson [mailto:phildgwil...@gmail.com] Sent

Re: [WiX-users] FW: Burn error with document folder on network location (works fine running only the msi)

2015-01-28 Thread Phil Wilson
and you're impersonating. As has been said, the localsystem account has no network privileges. --- Phil Wilson On Mon, Jan 26, 2015 at 1:55 PM, Phill Hogland phogl...@rimage.com wrote: I think that this was pointed out earlier, but mapped network drives are User resources and may

Re: [WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread Phil Wilson
I'll put it this way: I don't understand why you're not passing the string LPCWSTR sczMutexName = LGlobal\\_MSIExecute; into CreateMutex(). Why the StrAllocFormatted call? Also it's only locked during the execute sequence, and I don't know how you're testing it. --- Phil Wilson

Re: [WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread Phil Wilson
The docs seem to indicate that it's still used, but they also suggest querying the service status to see if it's accepting shutdown commands. https://msdn.microsoft.com/en-us/library/aa372909(v=vs.85).aspx --- Phil Wilson On Tue, Jan 27, 2015 at 9:56 AM, Rob Mensching r

Re: [WiX-users] seeing if a MSI is running using mutex... [P]

2015-01-27 Thread Phil Wilson
(hMutex, INFINITE); if (WAIT_OBJECT_0 == dwError) { // You have the mutex therefore MSI isn't installing anything } --- Phil Wilson On Tue, Jan 27, 2015 at 10:56 AM, Steven Ogilvie steven.ogil...@titus.com wrote: Classification: Public There was code from NetFxChainer.cpp

Re: [WiX-users] seeing if a MSI is running using mutex...

2015-01-27 Thread Phil Wilson
It appears that your CreateMutex isn't passing in the actual MSI mutex in sczMutexName . --- Phil Wilson On Tue, Jan 27, 2015 at 7:51 AM, StevenOgilvie sogil...@msn.com wrote: Hi all, Trying to create a method to detect if ANY MSI is running and if so halt bootstrapper... I am

Re: [WiX-users] Preventing msi file from being directly executed by a user?

2015-01-23 Thread Phil Wilson
that the MSI can search for to use in a launch condition. If you want to be thorough, use all of them, the app check and the launch conditions. --- Phil Wilson On Fri, Jan 23, 2015 at 7:19 AM, David Connet d...@agilityrecordbook.com wrote: On 1/22/2015 10:33 PM, sky wrote: I'm now using

Re: [WiX-users] aid debugging complex conditons

2015-01-19 Thread Phil Wilson
in, typically last in the UI sequence. You can condition on a property like UIDEBUG, and you can set that on the command line That can be useful when customers report problems. --- Phil Wilson On Sat, Jan 17, 2015 at 4:46 PM, Matthew O'Connell techsupport...@gmail.com wrote: Say I

Re: [WiX-users] App1 to launch an App2 (with advertised shortcut, not installed yet)

2015-01-15 Thread Phil Wilson
, so call it before the CreateProcess() --- Phil Wilson On Wed, Jan 14, 2015 at 2:21 PM, Phill Hogland phogl...@rimage.com wrote: I have amsi which installs a single app with an advertised shortcut in the Start menu. After the MSI is installed, until the user clicks on the advertised

Re: [WiX-users] Where does MSI store installed state

2015-01-09 Thread Phil Wilson
MsiDabaseOpenView and so on, and the SQL to delete, add or update tables. --- Phil Wilson On Fri, Jan 9, 2015 at 5:38 AM, Prantik prantik.sar...@grapecity.com wrote: Hi All, I am trying to find out something. I hope you can help. I was wondering how does the msi keep a track of the fact

Re: [WiX-users] CustomAction built for AnyCPU does not read 64-bit registry hive

2015-01-08 Thread Phil Wilson
run with the bitness of the caller. and in a 32-bit setup the most likely reason for what you're seeing is that the 32-bit setup is propagating its 32-bit state into the custom action process that calls your Dll. --- Phil Wilson On Thu, Jan 8, 2015 at 6:39 AM, Phill Hogland phogl

Re: [WiX-users] Creating an upgrade package

2015-01-06 Thread Phil Wilson
an uninstallable patch. Apart from that your question is too general, but yes you can do all that with a patch. --- Phil Wilson On Tue, Jan 6, 2015 at 6:13 AM, Taunk, Vikash vikash.ta...@cgi.com wrote: Hello, As part of our requirement, we need to create an upgrade patch on top of the main

Re: [WiX-users] Adding service installation to wix installer

2014-12-31 Thread Phil Wilson
to come from Crystal Reports, perhaps they have a merge module you can include, maybe this http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0.zip --- Phil Wilson On Tue, Dec 30, 2014 at 6:03 PM, Justin Dyer justin.p.d...@gmail.com wrote: I am completely

Re: [WiX-users] Access files in CustomAction without installing the files

2014-12-19 Thread Phil Wilson
it in the absence of the script. --- Phil Wilson On Fri, Dec 19, 2014 at 9:00 AM, Brian Enderle bria...@gmail.com wrote: Is it possible to access a file (in this case a SQL script) during the install process from a Custom Action without installing the file first to the hard drive? Currently I am

Re: [WiX-users] 1 as the progress message at the end of an install

2014-12-18 Thread Phil Wilson
that the parameter number is not is square brackets so you get the number 1. --- Phil Wilson On Mon, Dec 15, 2014 at 9:58 PM, victorwhiskey lt; victorhwhiskey@ gt; wrote: Hello, I've been wondering this for awhile now. I'm showing the progress during the install as well

Re: [WiX-users] Heat over 64 bit dll

2014-12-18 Thread Phil Wilson
The COM data (classids etc) is typically the same for both architectures, so massaging the 32-bit output a little should be all that's required. --- Phil Wilson On Thu, Dec 18, 2014 at 8:21 AM, John Cooper jocoo...@jackhenry.com wrote: Well, the general problem is that COM registry

Re: [WiX-users] 1 as the progress message at the end of an install

2014-12-16 Thread Phil Wilson
number is not is square brackets so you get the number 1. --- Phil Wilson On Mon, Dec 15, 2014 at 9:58 PM, victorwhiskey victorhwhis...@yahoo.com wrote: Hello, I've been wondering this for awhile now. I'm showing the progress during the install as well as the files that are being

Re: [WiX-users] How to install a new user?

2014-12-15 Thread Phil Wilson
The answer to you in StackOverflow is accurate - it doesn't matter if someone is an administrator or not. Nobody has admin privileges unless they elevate. --- Phil Wilson On Mon, Dec 15, 2014 at 1:19 AM, Patrick Pirzer patrick.pir...@prosoft.net wrote: Okay, now the creation

Re: [WiX-users] Long lasting Installation process. Why?

2014-12-12 Thread Phil Wilson
If so, this may be a fix, it mentions issues are caused by KB2918614 http://support.microsoft.com/kb/3000988 --- Phil Wilson On Fri, Dec 12, 2014 at 7:25 AM, John Cooper jocoo...@jackhenry.com wrote: I believe you're running into a change in Windows Installer Service behavior

Re: [WiX-users] Windows Updates - either pending or running causes our installs to fail

2014-12-12 Thread Phil Wilson
; BSTR criteria = SysAllocString(LIsInstalled=1 or IsHidden=1 or IsPresent=1); hr = CoCreateInstance(CLSID_UpdateInstaller, NULL, CLSCTX_INPROC_SERVER, IID_IUpdateInstaller, (LPVOID*)iInstaller); VARIANT_BOOL Busy; hr = iInstaller-get_IsBusy(Busy); etc --- Phil Wilson

Re: [WiX-users] Long lasting Installation process. Why?

2014-12-09 Thread Phil Wilson
. --- Phil Wilson On Tue, Dec 9, 2014 at 3:25 AM, Helmut Ziegler scruffytec...@gmail.com wrote: Hi, we use WIX to deploy an application (100MB) that enables users to browse a big collection of PDF files (around 4 GBs). Installer (setup.msi) and PDFs are distributed via DVD. The PDFs

Re: [WiX-users] Using DllImport inside Wix Custom Action shows DLL Error

2014-12-08 Thread Phil Wilson
There is a collection of standard properties that Windows Installer supplies: http://msdn.microsoft.com/en-us/library/aa370905(v=vs.85).aspx about the system, the install state, standard folders etc. --- Phil Wilson On Sun, Dec 7, 2014 at 6:59 AM, Sarvagya Pant sarvagya.p

Re: [WiX-users] multiple product codes returned from Upgrade code

2014-12-05 Thread Phil Wilson
version to upgrade a French version. Using OnlyDetect for the other UpgradeCodes can be used to prevent side by side installs of different languages. --- Phil Wilson On Fri, Dec 5, 2014 at 8:04 AM, Nick Ramirez nickra...@hotmail.com wrote: It looks like what you have is correct. You

Re: [WiX-users] Cant get util:RemoveFolderEx to work on network drive

2014-12-05 Thread Phil Wilson
in these cases is to use the actual share name to avoid the mapped drive letter issues, but access is going to be an issue, that's probably where you need to look. --- Phil Wilson On Fri, Dec 5, 2014 at 9:16 AM, Rob Mensching r...@firegiant.com wrote: It's about Windows Installer

Re: [WiX-users] harvesting x64 com dll with heat

2014-12-05 Thread Phil Wilson
That error message and error 193 seem to indicate that Heat is expecting a Win32 Self Registering COM Dll, not a .NET Dll. What are you expecting to harvest? --- Phil Wilson On Fri, Dec 5, 2014 at 8:24 AM, ssmsam ssmcs...@gmail.com wrote: Hi I am harvesting a x64 C# COM exposed

Re: [WiX-users] Embedded Transforms for L10n and how to display them.

2014-12-03 Thread Phil Wilson
It looks like you have the .mst files because you are then embedding into the MSI file. So you can open the base MSI file with Orca and use the Transforms menu to apply them, the changes being highlighted. Do you maybe no longer have the mst files or something? --- Phil Wilson On Wed

Re: [WiX-users] How to prevent upgrade and downgrade if system depends from particular installed product version

2014-12-02 Thread Phil Wilson
if invoked silently then it's better to do that with a launch condition, and WiX generates MSI files with FindRelatedProducts before launch condition checks, so you could use the upgrade property in a launch condition. --- Phil Wilson On Tue, Dec 2, 2014 at 7:08 AM, Rob Mensching r

Re: [WiX-users] Force overwrite DLL with previous version inMajorUpgrade?

2014-11-28 Thread Phil Wilson
. What I see is that the file is not installed at all, which is the first sign of a bug, and secondly if you do a repair it does install the lower version of the file. --- Phil Wilson On Wed, Nov 26, 2014 at 1:49 PM, Joel Budreau joel.budr...@gmail.com wrote: Hey Phil, Can you tell me

Re: [WiX-users] Force overwrite DLL with previous version inMajorUpgrade?

2014-11-26 Thread Phil Wilson
. --- Phil Wilson On Tue, Nov 25, 2014 at 1:24 PM, Joel Budreau joel.budr...@gmail.com wrote: Hey Klaus, If you want to perform a major upgrade and make sure all the files from the newer installer are copied, make use of the REINSTALLMODE property - http://msdn.microsoft.com/en-us

Re: [WiX-users] Need to support Downgrade installs

2014-11-26 Thread Phil Wilson
You have a majorupgrade element as well as an upgrade element. I'm not sure why. A single majorupgrade element with AllowDowngrades=yes should suffice. You should also post the entire log. --- Phil Wilson On Wed, Nov 26, 2014 at 11:14 AM, Rich Fowler richwfow...@gmail.com wrote: I

Re: [WiX-users] UNC path can't modify a file

2014-11-26 Thread Phil Wilson
If this is a deferred CA in a per machine install the code will be running with the system account which usually has not network access privileges. What does mapping to a local folder mean? --- Phil Wilson On Wed, Nov 26, 2014 at 9:16 AM, Marco Tognacci mark...@live.it wrote: I

Re: [WiX-users] Force overwrite DLL with previous version in MajorUpgrade?

2014-11-24 Thread Phil Wilson
for the file name and its component id. There are more routine possible issues, such as the component id being inadvertently shared with something, and hopefully the Dll is marked as key path. --- Phil Wilson On Mon, Nov 24, 2014 at 3:39 AM, Klaus Gütter klaus.guet...@it-gmbh.de wrote

  1   2   3   4   5   6   7   >