Dec 01, 2010
11:39 PM
The software does seem to have its issues, and you won't receive any help from this forum. Installshield support reps are however available via the phone and helpful that way. We have opened up tickets with them and spoken to the rep a few times. Give them a call, or submit a support issue online. I have created so many bugs/issues threads in this section and a total of 0 have been resolved here. 😞
... View more
Nov 22, 2010
11:06 PM
Steve, have you had any success? We're also having major issues integrating Installshield 2011 into TFS 2010.
... View more
Nov 18, 2010
01:29 PM
Should I be seeing this GUID in the dcomcnfg window? Because I don't. {23473F79-0333-4A92-9823-DCD9B4509227} I do see it in the registry in these locations: HKLM\software\classes\wow6432Node\ClSID\{ID} HKLM\Software\wow6432node\classes\clsid\{ID}
... View more
Nov 18, 2010
12:34 PM
Automation interface IS installed and registered on the server. I just built a simple forms app with the following code: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using ISWiAuto17; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private ISWiAuto17.ISWiProject ISWiProject; private void button1_Click(object sender, EventArgs e) { // Replace the version number ISWiProject = new ISWiAuto17.ISWiProject(); ISWiProject.OpenProject("Setup.ism", false); ISWiProject.ProductVersion = "1.2.3"; ISWiProject.SaveProject(); ISWiProject.CloseProject(); } } } The app runs and modifies the .ism file on BOTH my dev and server machines. Its only when the automation interface is run using TFSBuild that the error occurs.
... View more
Nov 18, 2010
10:41 AM
Dev box: Windows 7 x64 Visual Studio 2010 Installshield 2011 using cmd line msbuild to build the solution deploys the file via FTP. Server: Windows 2008 R2 x64 TFS 2010 Installshileld Standalone Build Windows Firewall Disabled. using cmd line msbuild builds the solution but does not deploy the file via ftp and displays no errors. No events in the event log, or in the firewall log. Watching the build happen, it doesn't even appear as if Installshield is trying to FTP the file. It doesn't pause or hang like its trying to establish a connection at all.
... View more
Nov 17, 2010
11:13 PM
Server: 2008 R2 x64. My project complies and deploys via FTP properly if I compile it on my dev box. When building the solution via teambuild, it doesn't ftp the file to the ftp server. It doesn't throw up any errors either. In the build log, it says: Copy Files to Drop Location 00:00 I can ftp to the ftp server manually from the TFS server without problem. Even if I disable the windows firewall, it still fails. There are no errors in the windows event log either. Any ideas? Thanks.
... View more
Labels
- Labels:
-
InstallShield 2011
Nov 16, 2010
03:02 PM
Thanks Cary but using Installshield 2011 and TFS 2010, we shouldn't have to do it that way. Installshield advertises integration with TFS 2010. I've tried it the integrated way using the Automation Interface as displayed here: http://community.flexerasoftware.com/showthread.php?t=195743 Using the automation interface works on my dev box, but not using TFS build.
... View more
Nov 16, 2010
02:58 PM
First, let me say that if I had any idea using installshield was going to take this many man hours to impelement (and so far unsuccessfully), we would have gone a different route. Not only that, but Installshield wanted $1999 for another license just so I could assign another developer to helping me fix this problem. 😞 That aside, I might as well post my work in hopes to save another team the headaches of getting as far as I have, and perhaps with newer versions of software, actually successfully completing the task. The Goal: Using TFS build to build multiple assemblies and pack them into an installshield msi where each assembly and the installer itself all share the same version number. My Environment: Server: Windows 2008 R2 x64, TFS 2010, Installshield 2011 TFS Builds: MSBuild Platform forced to x86 Dev Box: Windows 7 x64, Visual Studio 2010, Installshield 2011 My Visual Studio Solution: App1: .net 2.0 exe compiled as x86 App2: .net 2.0 exe compiled as x86 InstallShield Basic MSI Project Creating the solution with all of your deployed assemblies and adding the installshield project is very easy. The next step is how do you tell installshield to deploy your assemblies? 1. Open the Project Assistant of Installshield in the visual studio IDE. 2. Navigate to the Application Files window. 3. Click Add Project Outputs near the lower right hand corner of the window. - I added content files and primary output only At this point you should be able to build your entire solution and have a proper .msi generated with the project outputs (and content files). Once you have this step working, we can move on to versioning. Pushing a version through your build process Now, its very unfortunate that we spend all this money on TFS and have no way to actually version our version controlled software. To do this I used two links as reference: This link gives pretty good instructions on how to add your own action (compiled in a dll) and reference that action on your workflow. What it doesn't mention is that you need to check in the dll you build into the location specified under "Using The New Build Process". Version control path to custom assemblies:. Check in your dll to the same location you specify here. The xml you create can be checked in anywhere. http://www.richard-banks.org/2010/07/how-to-versioning-builds-with-tfs-2010.html After I had a handle on the above, I actually ended up using this method to version distributions: http://agilescmtalk.com/node/42 I have attached my working implementation of the above methods as CustomActivities.zip In Team Explorer, edit your build definition and change the name to the following format: MyApp-1.2-Rel where 1 is the major version and 2 is the minor version. Rel can be anything you want to describe the build such as Rel, Dev, Test, etc.. Under Process, you need to set it to use the new XAML you created (in my zip this is in the template folder). Check the xaml you create into the BuildProcessTemplates folder. You might also have to change the MSBuild platform to x86. Mine is already set that way for other reasons. At this point you should be able to queue your team build. It might build for you, but certainly doesn't for me. If you are having problems, open the xaml I provided and using the first link, go to the area where we're adding our actions, and remove the installshield action. It should build with all of your assemblies with the same version, and conveniently the build name also shows the build #. If you get an error trying to build with the installshield action, such as the following: UpdateInstallShieldVersion ERROR. Exception: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {23473F79-0333-4A92-9823-DCD9B4509227} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at BuildTasks.Activities.UpdateInstallShieldVersion.Execute(CodeActivityContext context) I don't have a solution yet. I can get the same code compiling and working on my dev box no prob. It just won't work on the TFS server when called using team build. pasted here for reference: [CODE]using System; using System.Activities; using System.Diagnostics; using System.IO; using System.Text.RegularExpressions; using Microsoft.TeamFoundation.Build.Client; using ISWiAuto17; namespace BuildTasks.Activities { [BuildActivity(HostEnvironmentOption.Agent)] public sealed class UpdateInstallShieldVersion : CodeActivity { // The file mask of all files for which the build number of the assembly version must be increased [RequiredArgument] public InArgument InstallShieldFileMask { get; set; } // BuildDetail.BuildNumber [RequiredArgument] public InArgument BuildNumber { get; set; } [RequiredArgument] public InArgument SourcesDirectory { get; set; } private ISWiAuto17.ISWiProject ISWiProject; protected override void Execute(CodeActivityContext context) { try { // Obtain the runtime value of the input arguments string installShieldFileMask = context.GetValue(this.InstallShieldFileMask); string buildNumber = context.GetValue(this.BuildNumber); string sourcesDirectory = context.GetValue(this.SourcesDirectory); // Get all AssemblyInfo files foreach (string file in Directory.EnumerateFiles(sourcesDirectory, installShieldFileMask, SearchOption.AllDirectories)) { // Update build increment number in the version and write out to AssemblyInfo files Version newVersion = BuildInfo.GetVersionNumber(buildNumber); FileProperties.SetReadOnlyFlag(file, false); // Replace the version number ISWiProject = new ISWiAuto17.ISWiProject(); ISWiProject.OpenProject(file, false); ISWiProject.ProductVersion = newVersion.ToString(); ISWiProject.SaveProject(); ISWiProject.CloseProject(); FileProperties.SetReadOnlyFlag(file, true); } } catch (Exception ex) { throw new ArgumentException("UpdateInstallShieldVersion ERROR. Exception: " + ex.ToString()); } } } } [/CODE] At this point I've tried basically everything, short of installing Installshield 2011 full onto the TFS server. I even checked the registry and show the assembly GUID it throws out in the error as registered. I'm at my wits end, but hopefully this writeup helps others error free.
... View more
Labels
- Labels:
-
InstallShield 2011
Nov 16, 2010
11:34 AM
Retrieving the COM class factory for component with CLSID {23473F79-0333-4A92-9823-DCD9B4509227} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). Trying to use InstallShield Automation Interface with VS 2010, TFS 2010, and InstallShield 2011 and I get this error. I'm trying to add my own action to the tfs workflow using insatllshield automation added as a COM to my actions dll. My code looks as follows: using ISWiAuto17; private ISWiAuto17.ISWiProject ISWiProject; // Replace the version number ISWiProject = new ISWiAuto17.ISWiProject(); ISWiProject.OpenProject(@"D:\Setup.ism", false); ISWiProject.ProductVersion = "1.2.3"; ISWiProject.SaveProject(); ISWiProject.CloseProject(); If I comment out all of the ISWiProject. action code, and just leave ISWiProject = new ISWiAuto17.ISWiProject();, it still crashes. If I comment out all of the replace the verison number code, it works fine. I tried regsvr32 iswiautomation17.dll on the server (2008 R2 x64) with no luck. My TFS build is running in x86 mode. My action dll is compiled using ANY CPU.
... View more
Labels
- Labels:
-
InstallShield 2011
Nov 16, 2010
09:10 AM
Roman, at this point I really wish I went with another product. 😞 *sigh* I've spent literally 2 weeks trying to figure this out, as well as having my lead dev do the same. I might have finally made some progress, but of course lack of documentation and new errors keep coming up.
... View more
Nov 15, 2010
11:39 PM
Can anyone elaborate on how they're using the automation interface to update the version number? Thanks.
... View more
Nov 15, 2010
11:35 PM
Alpesh wrote: Hi, You can use Automation Interface or the ISCmdBld.exe command line to do so. Basically, you will use some Windows api to query the exe version and then using Automation Interface or ISCmdBld.exe command line (-y), you will set the ProductVersion property. I hope this helps. Thanks! Can you elaborate on how this is done using the Automation Interface? I'm using TFS 2010 team build with Installshield integrated into my Visual Studio Solution and have found 0 information and i've been searching for weeks.
... View more
Nov 15, 2010
11:03 PM
How are you guys updating the version in your InstallShield projects when using TFS 2010 build? The lack of support is frustrating to say the least. 😞 In their PDF, http://www.installsite.biz/en/desc/ix/rn_IS2011_exp_en.pdf it says: You can also use Team Foundation Build to compile, test, and deploy your InstallShield projects and your Visual Studio solutions on a regular basis, or on demand. Your installation is automatically updated with your latest source files every time that your solution is built. That is pointless if the installer is always the same version. 😞 The reason I post in your thread is it seems as if we're the only few actually working with Installshield and TFS 2010. Look at all the other threads in this forum with only 1 view and 0 replies. 😞 *sigh* Hope your deployment isn't going as difficult as ours is.
... View more
Latest posts by CodeGuru
Subject | Views | Posted |
---|---|---|
538 | Dec 01, 2010 11:39 PM | |
1376 | Nov 22, 2010 11:06 PM | |
874 | Nov 18, 2010 01:29 PM | |
874 | Nov 18, 2010 12:34 PM | |
417 | Nov 18, 2010 10:41 AM | |
2569 | Nov 17, 2010 11:13 PM | |
1051 | Nov 16, 2010 03:02 PM | |
10522 | Nov 16, 2010 02:58 PM | |
4107 | Nov 16, 2010 11:34 AM | |
1748 | Nov 16, 2010 09:10 AM |
Activity Feed
- Posted Re: iswiscanners.dll not found et. al. on InstallShield Forum. Dec 01, 2010 11:39 PM
- Posted Re: Having a heck of a time with Path Variables on InstallShield Forum. Nov 22, 2010 11:06 PM
- Posted Re: Integrating Installshield 2011 with Team Foundation Server (TFS) 2010 on InstallShield Forum. Nov 18, 2010 01:29 PM
- Posted Re: Integrating Installshield 2011 with Team Foundation Server (TFS) 2010 on InstallShield Forum. Nov 18, 2010 12:34 PM
- Posted Re: TFS 2010 + TeamBuild + Distribute After Build via FTP not working on InstallShield Forum. Nov 18, 2010 10:41 AM
- Posted TFS 2010 + TeamBuild + Distribute After Build via FTP not working on InstallShield Forum. Nov 17, 2010 11:13 PM
- Posted Re: How to make Product Version property match executable's version number automatically on InstallShield Forum. Nov 16, 2010 03:02 PM
- Posted Integrating Installshield 2011 with Team Foundation Server (TFS) 2010 on InstallShield Forum. Nov 16, 2010 02:58 PM
- Posted Retrieving the COM class factory for component with CLSID {23473F79-0333-4A92-9823-DC on InstallShield Forum. Nov 16, 2010 11:34 AM
- Posted Re: Visual Studio 2010 integration and CI builds on InstallShield Forum. Nov 16, 2010 09:10 AM
- Posted Re: Automated nightly builds with script-based installer? on InstallShield Forum. Nov 15, 2010 11:39 PM
- Posted Re: How to make Product Version property match executable's version number automatically on InstallShield Forum. Nov 15, 2010 11:35 PM
- Posted Re: Visual Studio 2010 integration and CI builds on InstallShield Forum. Nov 15, 2010 11:03 PM