Re: [WiX-users] Burn uninstalls product instead of upgrading it

2013-08-24 Thread Bruce Cran
On 23/08/2013 21:58, Rob Mensching wrote:
> Might be related to: http://wixtoolset.org/issues/3643/

Thanks, that was the problem.

-- 
Bruce

--
Introducing Performance Central, a new 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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] DCOM Launch and Access permissions

2013-08-24 Thread Benjamin Sole
Hi there, does anyone know if there is a way to change the launch and
access permission for a DCOM Component via WIX?
--
Introducing Performance Central, a new 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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] LGHT0103 error where path is shorter than 255 characters and file is present.

2013-08-24 Thread Nicolás Alvarez
2013/8/23 John Ludlow :
> One other question is what does D: map to? You mention network, which makes
> me wonder if this is a mapped drive. Does this work if you use an entirely
> local path? Some MSI operations cause errors if with mapped network drives

He said "Local disk, so transient network problems are not the cause",
that seems pretty unambiguous to me.

-- 
Nicolás

--
Introducing Performance Central, a new 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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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

2013-08-24 Thread Nicolás Alvarez
2013/8/23 jo...@msli.com :
> My bundle needs to perform a conditional install if a 3rd party program
> if the version installed is none or less than a particular version.
>
> The problem is the 3rd party program stores the installed version number
> in a dynamic guid section of HKLM, so I don't have a deterministic path
> to the information.
>
> Has anyone developed a wild card search method for elusive targets like
> this?
>
> The information on one system is in:
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer
> \UserData\S-1-5-18\Products\043899F85CE10A14BA724F736669840C
> \InstallProperties
> Contains: Key:DisplayVersion   Value:1.0.4
>
> HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion
> \Uninstall\{8F998340-1EC5-41A0-AB27-F437669648C0}
>   Contains: Key:DisplayVersion   Value:1.0.4
>
> What are my options?

That registry key is internally used by Windows Installer, and that
GUID is a Windows Installer product code. You should use
 instead of looking in the registry.

If the third-party program uses major upgrades, ie. changes its
product code on every version, I don't think you have any alternative
than to list all the valid productcodes...

-- 
Nicolás

--
Introducing Performance Central, a new 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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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 bundle needs to perform a conditional install if a 3rd party program
> > if the version installed is none or less than a particular version.
> >
> > The problem is the 3rd party program stores the installed version number
> > in a dynamic guid section of HKLM, so I don't have a deterministic path
> > to the information.
> >
> > Has anyone developed a wild card search method for elusive targets like
> > this?
> >
> > The information on one system is in:
> >
> > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer
> > \UserData\S-1-5-18\Products\043899F85CE10A14BA724F736669840C
> > \InstallProperties
> > Contains: Key:DisplayVersion   Value:1.0.4
> >
> > HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion
> > \Uninstall\{8F998340-1EC5-41A0-AB27-F437669648C0}
> >   Contains: Key:DisplayVersion   Value:1.0.4
> >
> > What are my options?
>
> That registry key is internally used by Windows Installer, and that
> GUID is a Windows Installer product code. You should use
>  instead of looking in the registry.
>
> If the third-party program uses major upgrades, ie. changes its
> product code on every version, I don't think you have any alternative
> than to list all the valid productcodes...
>
> --
> Nicolás
>
>
> --
> Introducing Performance Central, a new 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-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Introducing Performance Central, a new 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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] LGHT0103 error where path is shorter than 255 characters and file is present.

2013-08-24 Thread Blair Murri
I noticed something:
 
KMI.IntelliDrive.ServicesHost.vshost.exe.config <-- Light error
KMI.IntelliDrive.ServicesHost.exe.config <-- PS ls

They aren't the same filename (vshost part is missing in the directory listing).
 
> From: nicolas.alva...@gmail.com
> Date: Sat, 24 Aug 2013 15:47:35 -0300
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] LGHT0103 error where path is shorter than 255 
> characters and file is present.
> 
> 2013/8/23 John Ludlow :
> > One other question is what does D: map to? You mention network, which makes
> > me wonder if this is a mapped drive. Does this work if you use an entirely
> > local path? Some MSI operations cause errors if with mapped network drives
> 
> He said "Local disk, so transient network problems are not the cause",
> that seems pretty unambiguous to me.
> 
> -- 
> Nicolás
> 
> --
> Introducing Performance Central, a new 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-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
  
--
Introducing Performance Central, a new 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-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] LGHT0103 error where path is shorter than 255 characters and file is present.

2013-08-24 Thread Blair Murri
I noticed something:
  
 KMI.IntelliDrive.ServicesHost.vshost.exe.config <-- Light error
 KMI.IntelliDrive.ServicesHost.exe.config <-- PS ls

 They aren't the same filename (vshost part is missing in the directory 
listing).
 
> Date: Fri, 23 Aug 2013 16:21:18 -0400
> From: doug.bod...@kantarmedia.com
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] LGHT0103 error where path is shorter than 255
> characters and file is present.
> 
> I'm seeing a LGHT0103 error. The files are simply reported as not found;
> but they're there. If you look at the light.exe command I ran below - I
> grabbed the command text from a Visual Studio build log, and then ran
> the ls command in powershell immediately after to demonstrate that the
> file is there.
> 
>  
> 
> Does not seem to be related to the path length or have the "cannot find
> file with type" message in a similar behavior I saw reported.
> 
>  
> 
> Powershell session w/ light.exe reproducing the error, and ls
> demonstrating the file is there:
> 
>  
> 
>  
> 
> PS
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup> light.exe -out
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup\bin\Release\en-US\IntelliDriv
> eServiceHostWixSetup.msi -pdbout
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup\bin\Release\en-US\IntelliDriv
> eServiceHostWixSetup.wixpdb -cultures:en-US -ext "C:\Program Files
> (x86)\WiX Toolset v3.7\bin\\WixNetFxExtension.dll" -loc
> UI\WixUI_en-us.wxl -contentsfile
> obj\Release\IntelliDriveServiceHostWixSetup.wixproj.BindContentsFileList
> en-US.txt -outputsfile
> obj\Release\IntelliDriveServiceHostWixSetup.wixproj.BindOutputsFileListe
> n-US.txt -builtoutputsfile
> obj\Release\IntelliDriveServiceHostWixSetup.wixproj.BindBuiltOutputsFile
> Listen-US.txt -wixprojectfile
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup\IntelliDriveServiceHostWixSet
> up.wixproj obj\Release\CommonConfigContent.wixobj
> obj\Release\Product.wixobj obj\Release\ServiceHostContent.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\CancelDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\Common.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\EnvironmentSelectionDial
> og.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\ErrorDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\ExitDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\FatalErrorDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\FilesInUseDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\PrimarySecondarySelectio
> nDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\ProgressDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\ServiceInstallerUI.wixob
> j obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\UserExitDialog.wixobj
> obj\Release\pth0E8FFB1A374BA65CFAE4D2CDD0154539\WelcomeDialog.wixobj
> obj\Release\WindowsService.wixobj obj\Release\Product.Generated.wixobj
> 
> Windows Installer Xml Linker version 3.7.1224.0
> 
> Copyright (C) Outercurve Foundation. All rights reserved.
> 
>  
> 
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup\ServiceHostContent.wxs(67) :
> error LGHT0103 : The system cannot find the file
> 'D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\I
> ntelliDrive\Services
> Domain\KMI.IntelliDrive.ServicesHost\bin\Release\\KMI.IntelliDrive.Servi
> cesHost.vshost.exe.config'.
> 
>  
> 
> PS
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\IntelliDriveServiceHostWixSetup> ls
> 'D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\I
> ntelliDrive\Services
> Domain\KMI.IntelliDrive.ServicesHost\bin\Release\\KMI.IntelliDrive.Servi
> cesHost.exe.config'
> 
>  
> 
>  
> 
> Directory:
> D:\Subversion\pdev\branches\Intellidrive\DirectHEAT_NPMarx\TNSMI.Net2\In
> telliDrive\Services Domain\KMI.IntelliDrive.ServicesHost\bin\Release
> 
>  
> 
>  
> 
> ModeLastWriteTime Length Name
> 
> 
> - -- 
> 
> 
> -a--- 8/21/2013   1:40 PM   5480
> KMI.IntelliDrive.ServicesHost.exe.config
> See? The file is there. Local disk, so transient network problems are
> not the cause.
> 
>  
> 
> And here's the relevant bit of XML from the .wxs file containing the
> component/file reference. It's a pretty simple bit of XML:
> 
>  
> 
> http://schemas.microsoft.com/wix/2006/wi";>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  Id="KMI.IntelliDrive.ServicesHost.vshost.exe.config"
> Directory="INSTALLDIR" Guid="*">
> 
>  Id="KMI.IntelliDrive.Serv