Re: [WiX-users] Failed to extract all files from container

2012-11-15 Thread Neil Sleightholm
This has got something to do with signing. If I sign on my dev machine everything is ok but on the build machine it gives this error. I am using this process if it is relevant: insignia -ib bundle.exe -o engine.exe ... sign engine.exe insignia -ab engine.exe bundle

Re: [WiX-users] ExePackage Progress

2012-11-15 Thread Neil Sleightholm
Defect raised for this issue https://sourceforge.net/p/wix/bugs/3139/ Seems to be an issue in the burn engine caching code. Neil -Original Message- From: Steve Hole [mailto:rsteveh...@gmail.com] Sent: 15 November 2012 15:30 To: General discussion for Windows Installer XML toolset. Subje

[WiX-users] Failed to extract all files from container

2012-11-15 Thread Neil Sleightholm
My install has been working fine for a lot of builds and then last night's build generates this error when we run it: [0674:0A1C][2012-11-15T16:42:56]: Prompt for source of package: NetFx40Redist, payload: NetFx40Redist, path: C:\Users\Neil Sleightholm\Desktop\Redist\dotNetFx40_Full_x86_x64.exe

[WiX-users] Using CustomAction.Config file with DefaultRoleProvider...

2012-11-15 Thread StevenOgilvie
Hi, My installer is installing a web site... I have a custom action that requires the RoleManager to be enabled so I added: However as soon as my first custom action runs during the install it chokes: 1.

Re: [WiX-users] Disallowed component during Major Upgrade

2012-11-15 Thread vale_k
Rob right now I'm scheduling it after InstallValidate. I guess that's the earliest possible . Now, for non versioned files with an older date in the new installer I get the following log instead *Allowing installat

Re: [WiX-users] Disallowed component during Major Upgrade

2012-11-15 Thread Rob Mensching
Did you try scheduling RemoveExistingProducts earlier? On Thu, Nov 15, 2012 at 6:40 AM, vale_k wrote: > While performing a major upgrade (remove before install) if a component key > file has a version number older than the one installed (and being removed > by > the RemoveExistingProducts actio

Re: [WiX-users] ExePackage Progress

2012-11-15 Thread Steve Hole
At this point I don't have any custom actions in the MSI files. I'm generating packages as bare bones as possible, allowing only for a change in installation path. So, while this likely a contributor to the overall affect, I believe there is something else contributing as well. Cheers. On 12-11-

[WiX-users] Disallowed component during Major Upgrade

2012-11-15 Thread vale_k
While performing a major upgrade (remove before install) if a component key file has a version number older than the one installed (and being removed by the RemoveExistingProducts action) the component in question ends up not being installed at all, with the following log message: *Disallowing inst

Re: [WiX-users] Lost INSTALLDIR on uninstall if no Component as childof Directory

2012-11-15 Thread Peter Shirtcliffe
INSTALLDIR must be persisted if you want to access it outside first-time installation. This is usually done through ARPINSTALLLOCATION. http://robmensching.com/blog/posts/2011/1/14/ARPINSTALLLOCATION-and-how-to-se t-it-with-the-WiX-toolset -Original Message- From: Ingo Fischer [mailto:ingo

Re: [WiX-users] Where can I find the installer that was used.

2012-11-15 Thread tyler.w.reid
Thank you all so much for the wonderful answers. As many of you have pointed out this may be more trouble that it is worth. However the main reason we are doing this is not to validate that the correct files were laid down, but to validate that the correct files were upgraded to the correct vers

Re: [WiX-users] ExePackage Progress

2012-11-15 Thread Neil Sleightholm
I think this is a bug in the burn engine, with just 2 MSIs the displayed progress gets to 111%. This seems to stem from the fact that the OnCacheAcquireProgress() get an overall progress of 199% so I don't think it is related to the HACK code for the MSIs. Once I get some more concrete results I'll

[WiX-users] Use existing web site certificate.

2012-11-15 Thread Fyodor Koryazhkin
Hi, WIX IIS extension allows to install certificate and attach it to secure binding. Is there any possibility to attach already existing certificate to newly crated binding using only WIX without custom actions? Thank you? -- Regards, Fyodor Koryazhkin..

Re: [WiX-users] Where can I find the installer that was used.

2012-11-15 Thread Fyodor Koryazhkin
Hi, This is not the trivial task. You should do the following to be most accurate: 1. Find path to cached local msi (MsiOpenProduct function) 2. Enumerate all patches for that product (MsiEnumPatches function) 3. Extract transforms from every patch 4. Apply each transform to product database (accor

[WiX-users] Lost INSTALLDIR on uninstall if no Component as child of Directory

2012-11-15 Thread Ingo Fischer
Hello, I use CustomActions like ... ExeCommand='DoSomethingWith [INSTALLDIR]someFile.txt'they are called on installation and uninstallation...After='InstallFinalize'>NOT REMOVE <= for install ...Before='RemoveFiles'>Installed AND NOT REINSTALL<= for uninstall my Direct

Re: [WiX-users] How to disable or hide Repair button in Bundle UI

2012-11-15 Thread Miller, Nick (GE Intelligent Platforms)
Thanks for the tip Dan. Worked out perfectly. The article's example was with the HyplerlinkTheme, but the principle applied just fine to the RtfTheme. I just made a copy of the files in my local build and commented out the Repair button. #(loc.ModifyHeader) #(loc.M

Re: [WiX-users] Creating a simply installer copying aset offiles to an existing directory

2012-11-15 Thread Peter Shirtcliffe
You have to know which versions of the product you are targeting. They all probably have different IDs (i.e. product codes). If you're only supporting one version, then that's fine. Note that not all installers will write their install location. Use a registrysearch to look in the key that corres

Re: [WiX-users] Creating a simply installer copying a set offiles to an existing directory

2012-11-15 Thread Jensen-Waud, Anders
Thanks Peter. I actually managed to find the MSI ID and registry key for the target product install folder. Are you able to show how to look up the folder via the registry key and insert it into the Directory declaration? Regards Anders Peter Shirtcliffe wrote: The default directory is what

Re: [WiX-users] Where can I find the installer that was used.

2012-11-15 Thread Peter Shirtcliffe
MsiGetProductInfoEx() can return the cached MSI location using an argument of INSTALLPROPERTY_LOCALPACKAGE We discussed doing something similar here once. I'm not convinced it's a worthwhile exercise. You should rather test the functions of the software - which you will be doing anyway. If a file

Re: [WiX-users] Creating a simply installer copying a set offiles to an existing directory

2012-11-15 Thread Peter Shirtcliffe
The default directory is whatever directory Id you set WIXUI_INSTALLDIR to, so in this case it is INSTALLDIR, which is \ZZ_Installer. If you change your directory structure to be \\ and ensure the directory has the ID INSTALLDIR, it'll change the default to what you want. Subdirectories are crea

Re: [WiX-users] Where can I find the installer that was used.

2012-11-15 Thread Philip Patrick
Another option is to find the path in registry, in the Installer key. You will need to know the following information: * Product Code (or Upgrade Code and then find all products installed for it) * How to convert GUID to "compressed" Microsoft's format, which is used in registry * For which user

Re: [WiX-users] Where can I find the installer that was used.

2012-11-15 Thread Rob Hamflett
Windows keeps a cached copy of the MSI in C:\Windows\Installer, if that's of any help. You could scan through the MSI files in there and check the properties for the one you want. Rob On 14/11/2012 20:51, tyler.w.r...@accenture.com wrote: > Hello all, > > I am trying to write an appli

[WiX-users] How to elevate installer privilege when using MsiDoAction to install?

2012-11-15 Thread tzleon
Hi, I'm tring to install msi package with code below: MSIHANDLE hProduct = NULL; MsiSetInternalUI(INSTALLUILEVEL(INSTALLUILEVEL_NONE|INSTALLUILEVEL_UACONLY), hwnd); ret = MsiOpenPackage(TEXT("PathOfInstaller"), &hProduct); ret = MsiDoAction(hProduct, TEXT("INSTALL")); MsiCloseHandle(hProduct); T