installshield

Creating MSI in VS 2012

别来无恙 提交于 2019-12-11 13:56:06
问题 I have a website developed using VS 2012 and created an MSI (Deployment Package) using the "Install Shield Limited Edition Project" available in VS 2012. While i am trying to install this application in a Win 7 system, it is creating a new AppPool as "ASP.NET v4.0 DefaultAppPool" and installing the application with this AppPool. But if there are any previous application installed in the same system with the application pool as "DefaultAppPool", then my application's AppPool ("ASP.NET v4.0

Upgrading TFS Build Template to Automate Installed Shield Project

时光怂恿深爱的人放手 提交于 2019-12-11 13:13:45
问题 I am customizing Default Template to Auto update the Production version and Product code of Install Shield project during the build. Which is working fine in local machine? But through TFS Build it’s giving an exception as Exception Message: Retrieving the COM class factory for component with CLSID {52BA76F5-D0A7-4F2E-BD4A-45F8F2CE6A55} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). (type COMException) My TFS Build

Can one edit an InstallShield setup.exe's manifest file?

狂风中的少年 提交于 2019-12-11 13:07:39
问题 I'm running into the Windows Vista/7 Program Compatibility Assistant problem described here: "This program might not have installed correctly" message in Windows 7 RC The solution (backed-up by similar questions elsewhere, and MSDN), is apparently to add a 'compatibility' section to setup.exe's manifest. InstallShield 10 SP1 does this automatically, but unfortunately I only have InstallShield 2009. How would I go about editing the manifest? Is there a way to do this programmatically, so I can

VS2012: My Entity Framework model doesn´t get included to my project output using InstallShield

倖福魔咒の 提交于 2019-12-11 12:14:05
问题 I was recently asked to create an installer for a Windows Forms application that uses Entity Framework to comunicate to a database. I modified my program to create the database if it doesn't exist on the final user's computer, so it should work without problems. Problem is, I'm using installshield for Visual Studio 2012, and after building my installer, only 2 files were generated inside the install directory: MyProgram.exe & MyProgram.exe.config Problem is, I believe a EntityFramework.dll

Can only read/write 21 chars to InstallShield property from VB.NET

我只是一个虾纸丫 提交于 2019-12-11 11:40:48
问题 I'm using VB.NET and a custom action from within InstallShield to update some properties during an install. Everything works as long as I don't try to read or write more than 21 characters into the property, in which case it crashes. Just to be clear, if I enter this string "123456789112345678921" into the property via IS, then try to read it from VB.NET, everything works. If I add another char and read that, it crashes. Writing is similar - if I write (from VB.NET) the first string above it

Accessing InstallShield “Support Files” from DTF (Managed Custom Action)

佐手、 提交于 2019-12-11 11:11:32
问题 I have a bunch of .SQL scripts placed in the "Support Files" view of InstallShield. I want to access those SQL scripts in my custom action (via DTF). How can I do that? 回答1: InstallShield has a custom action to extract support files, called ISSetupFilesExtract. I guess when you add a support file, this action is automatically scheduled by the InstallShield engine. Hence, you can schedule your DTF custom action after ISSetupFilesExtract and address the support files extracted to the temp

Redirecting the InstallShield log to console

£可爱£侵袭症+ 提交于 2019-12-11 10:08:48
问题 I'm using the InstallShield 2011 Automation Interface to create my installer. During the build log files are generated in the MSI_English\LogFiles folder. Is it possible to redirect the log to the console. This would be more convenient for my build server. 回答1: The simple answer may be to use iscmdbld.exe instead of the automation interface. This already sends messages to the console. The more complex answer should be to use build status events (its VB sample is excerpted below). In

InstallScript GetLine() can not read text file contains result from command prompt

我与影子孤独终老i 提交于 2019-12-11 08:47:19
问题 My Installation needs to check the result of a command from cmd.exe . Thus, I redirect the result of the command to a text file and then try to read the file to get the result as follows: // send command to cmd to execute and redirect the result to a text file // try to read the file szDir = "D:\\"; szFileName = "MyFile.txt"; if Is(FILEEXISTS, szDir ^ szFileName) then listID = ListCreate(STRINGLIST); if listID != LIST_NULL then if OpenFIleMode(FILE_MODE_NORMAL) = 0 then if OpenFile

How to get MSI Installer to run some code on uninstall of a service

一世执手 提交于 2019-12-11 08:44:51
问题 I'm having troubles with some could I would like to execute when the service will be uninstalled. I've added the code to both the System.ServiceProcess.ServiceProcessInstaller BeforeUninstall event, and to the override method OnBeforeUninstall, but that did not work too. When using my InstallShield msi to uninstall the service this code does not get executed. How can I force the service to launch some code during uninstall? Do I need to use a different event in my C# service? Do I need to

Installshield - checking for key in registry failed with powershell

﹥>﹥吖頭↗ 提交于 2019-12-11 08:06:11
问题 I have an Installshield project with powershell CA that checks if certain registry key exists and set a property base on the result. The registry check succeeded when executing the script manually but failed (return false when get executed from Installshield. ** The CA is being executed during the UI sequence (before the ExecuteAction step) - is this a problem? How can I solve this issue? Is there an alternative way to check for existation of registry key with powershell custom action?