windows-installer

Is there way to detect install location without uninstall registry nor C:\Windows\Installer?

徘徊边缘 提交于 2020-08-20 06:13:54
问题 Some of the executable that I need to detect is installed properly, but has not written InstallLocation in the usual Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ I also checked C:\Windows\Installer but the GUID was not found with msi file. Is there any way to know where the files were installed? 回答1: MSI API : Here is a sample using VBScript to get the installation path for Microsoft Visual C++ 2012 x86 Minimum Runtime - 11.0.50727 - update GUIDs for your

Why is vbs able to find the INSTALLLOCATION when C# using both DTF and MSI API cannot?

让人想犯罪 __ 提交于 2020-08-10 03:38:39
问题 VBS works as I desired, but both COM API and DTF using C# is not locating the InstallLocation. Followings are what I have done so far. Thanks to this post, I was able to find a InstallLocation that is not available on registry using vbs. I understand that vbs is calling for COM API available on %WINDIR%\system32\msi.dll . C# COM API So I thought I would use C# to call this method up. But it failed. Even though I can confirm the existence and installation, it cannot open one of the product

How can I resolve MSI paths in VBScript?

拈花ヽ惹草 提交于 2020-08-05 07:52:08
问题 I am looking for resolving the paths of files in an MSI with or without installing (whichever is faster) from outside an MSI, using VBScript. I found a similar query using C# instead and Christpher had provided a solution, below: How can I resolve MSI paths in C#? I am going through the very same pain now but is there anyway to achieve this using WindowsInstaller object in VBScript, rather than go with endless queries through SQL Tables of MSI back and forth to achieve the same. Though any

How does Windows find the installed location when uninstalling software

谁都会走 提交于 2020-07-30 04:06:29
问题 When I run an installer that allows a custom install location/path, the files will be correctly placed at the location that I select. When I run the same MSI and select remove (or uninstall from add/remove programs), how does it know the install location so the correct files are removed? I thought it would be stored at 'Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{GUID}', but when I look at that location for my installed software, the 'InstallLocation' key

How to set default value of WiX Msi install path in the ui to Program Files?

喜你入骨 提交于 2020-07-23 18:06:42
问题 I have created a WiX installer MSI. When i run the msi, the installation path is asked for in the UI. Currently it loads the drive containing most of the free space. How can I set it to be at program files folder all the time? I tried the below line but it didn't work. <Property Id="WIXUI_INSTALLDIR" Value="C:\\Program Files\" /> Below is the error I get for the above element. The installer has encountered an unexpected error installing this package. This may indicate a problem with this

How to set default value of WiX Msi install path in the ui to Program Files?

回眸只為那壹抹淺笑 提交于 2020-07-23 18:04:41
问题 I have created a WiX installer MSI. When i run the msi, the installation path is asked for in the UI. Currently it loads the drive containing most of the free space. How can I set it to be at program files folder all the time? I tried the below line but it didn't work. <Property Id="WIXUI_INSTALLDIR" Value="C:\\Program Files\" /> Below is the error I get for the above element. The installer has encountered an unexpected error installing this package. This may indicate a problem with this

WiX Toolset bundle with total content size > 2GB

家住魔仙堡 提交于 2020-07-16 08:37:26
问题 Is it possible to make a WiX installation bundle with size of total .msi's and exe's inside bundle more than 2GB? Currently in my .wxs template I have a <chain> inside of a <bundle> that contains multiple <MsiPackage> 'es. I haven't created that WiX template on my own, I'm just improving/fixing bugs in a legacy project, so I am not very proficient with the WiX toolset. Anyway, then I create a .wixobj out of that .wxs template with candle.exe and this .wixobj I feed to light.exe. It seems that

WiX Toolset bundle with total content size > 2GB

半城伤御伤魂 提交于 2020-07-16 08:37:11
问题 Is it possible to make a WiX installation bundle with size of total .msi's and exe's inside bundle more than 2GB? Currently in my .wxs template I have a <chain> inside of a <bundle> that contains multiple <MsiPackage> 'es. I haven't created that WiX template on my own, I'm just improving/fixing bugs in a legacy project, so I am not very proficient with the WiX toolset. Anyway, then I create a .wixobj out of that .wxs template with candle.exe and this .wixobj I feed to light.exe. It seems that

installshield - how to let user add files to program files folder in the install

a 夏天 提交于 2020-07-10 17:46:30
问题 I am trying to create an installer that will get the project to install from my server. The project will be chosen dynamically by the user (the user has access to the server), so I can't copy the files to the installer when I create it. I want that the files will add to to ProgramFilesFolder in the installer. How can I do this? 回答1: Not entirely sure what you want to do. Do you want to automatically add files to a project that they select and then build and MSI? Installshield can be run via