installshield

Why does regasm /regfile seem incomplete?

寵の児 提交于 2019-12-10 17:15:45
问题 I have a .NET assembly I need to register at install time. I'm noticing that the registry has subtle differences when regasm is used directly versus being installed via regasm 's registry script. Here's my test: I export the original HKCR hive, then run: regasm my.dll From there, I export the subsequent HKCR hive and performance a diff. I then compare that diff with the output of regasm my.dll /regfile There are a couple very important entries that get added via regasm my.dll that will never

InstallShield: cannot extract icon with index 0 vb.net

不想你离开。 提交于 2019-12-10 16:13:54
问题 Im trying to use installshield to mak an installer for my applicatoin but when I add my icon to it then when i try and build it i get the error message InstallShield: cannot extract icon with index 0 Any ideas? 回答1: Sure. InstallShield is trying to extract the embedded resource (icon) for Add/Remove Programs and/or a shortcut. Recompile your EXE to include an icon and the message will go away. 回答2: I faced something similar. You need to check that the exe from which the icon will be extracted

Deleting old file versions during an upgrade install

扶醉桌前 提交于 2019-12-10 14:55:19
问题 I am working with a pure InstallScript installation in InstallShield Pro 2010. A third-party jar file has been replaced with a newer version in our software. When an upgrade installation is run, the new jar is installed, but the old jar also remains. Bad Things ensue. How can I get InstallShield to update the contents of a folder, AND delete any other files in that location that are not included in the current version? I've looked at the Component -> Overwrite options, but this only seems to

Can't create non-advertised shortcut in InstallShield 2012 Limited Edition

℡╲_俬逩灬. 提交于 2019-12-10 14:49:54
问题 I've created an InstallShield 2012 Limited Edition installer project for a Visual Studio 2012 solution. I've configured in to create a "Send To" shortcut. However, it creates an advertised shortcut, so Windows doesn't actually display it in the "Send To" menu. When I created the shortcut in the installer project, I explicitly chose the "shortcut" option rather than the "advertised shortcut" option, but it creates an advertised one anyway. How can I make the installer generate a non-advertised

Installshield, uninstalling program not removing all folders

吃可爱长大的小学妹 提交于 2019-12-10 13:24:37
问题 I am using Installshield 2010. I made a basic MSI setup, and I am having a problem with uninstalling. Uninstalling does not remove all folders. After a complete install, I then uninstall only to find that there is still a path leftover. for example, C:\ProgramFiles\CompanyName\Account\User_1234.xml still remains, while everything else is gone. The User_1234.xml file is generated by the application, and this file is not normally in the install process. So it makes sense why this file may have

Command line arguments for msiexec break on powershell if they contain space

帅比萌擦擦* 提交于 2019-12-10 03:28:51
问题 I'm trying to set a public property in an installshield installer with a value containing space. While running the MSI installer I'm using below command on PowerShell command prompt. Since the value contains spaces so I used double quotes to pass the value msiexec -i "myinstaller.msi" MYDIRPATH="C:\new folder\data.txt" It breaks the command as the argument value C:\new folder\data.txt has a space in the string new folder and results in below error prompt of msiexec which is suggestive of the

Desktop App Converter with InstallShield installer - W_DISCOVERED_EXE_NOT_FOUND

扶醉桌前 提交于 2019-12-08 09:39:59
问题 I am trying to convert to UWP my desktop application Computator.NET (written in WinForms) which is using InstallShield for it's installer but DAC does not seem to find executable. It looks like it thinks that exe file is some temporary installer file. Log from the process is below: WARNING: DesktopAppConverter : warning 'W_PACKAGE_DEPENDENCY_ADDED': A dependency on framework package 'Microsoft.VCLibs.140.00.UWPDesktop' was added to the AppxManifest.xml. See 'http://go.microsoft.com/fwlink/

How do I programmatically get the product (not assembly) version of a running program using C#?

雨燕双飞 提交于 2019-12-08 07:41:02
问题 I have a program that I have written and am trying to create an about box for. I recently updated my program's product version to 1.00.0003, and I want this to be reflected in the about window. The default setup of the aboutBox shows a value of 1.0.0.0, which is the assembly version, not the product version. I have since been scouring the Internet to find how to get the product version to be shown. I have tried all of these: { Assembly assembly = Assembly.GetExecutingAssembly();

File Versioning Rules When Neither Components Has a Key File

为君一笑 提交于 2019-12-08 07:34:46
问题 According to URLs I referenced, I understand that the Windows Installer uses key files to compare the version, date, and language of components and determine whether to update the component on target machine. http://msdn.microsoft.com/en-us/library/windows/desktop/aa368599%28v=vs.85%29.aspx http://msdn.microsoft.com/en-us/library/windows/desktop/aa371221%28v=vs.85%29.aspx I also understand that default versining rules consist of 4 different cases as listed below. Both Files Have a Version

get Common Documents folder in VBS

a 夏天 提交于 2019-12-08 03:20:54
问题 To my great chagrin, I must use VBS to write an InstallShield 2010 LE custom action. I have no VBS experience so I'm basically putting together code snippets that I find. I need to get a hold of the Common Documents folder (CSIDL_COMMON_DOCUMENTS). It's not defined in WScript.Shell.SpecialFolders (although All Users Desktop is). I found some example code that tries to link to a system DLL: Private Declare Function SHGetFolderPath Lib "shfolder.dll" _ Alias "SHGetFolderPathA" _ (ByVal