Jan 18, 2011
07:48 AM
I'm working with .NET 4.0, not 2.0. Regardless, I ended up deleting the existing extensions and creating the 2 for .NET 4.0 and added my own with the right settings and everything was fine.
... View more
Nov 13, 2010
12:32 PM
Here's something that should get you started. First, add a reference to the Msi.dll which can found in your Windows\System32 folder. After adding it, you should see WindowsInstaller under References of your project (assumming this is a Windows Forms project). Then, use the following code: Dim oMSI As WindowsInstaller.Installer Dim oDB As WindowsInstaller.Database Dim oView As WindowsInstaller.View Dim oType As Type Try oType = Type.GetTypeFromProgID("WindowsInstaller.Installer") oMSI = CType(Activator.CreateInstance(oType), WindowsInstaller.Installer) oDB = oMSI.OpenDatabase("C:\InstallShield Projects\Our_Package.ism", OpenMode.Output) oView = oDB.OpenView("Select InstallText From ISSQLScriptFile") Catch ex As Exception MessageBox.Show(ex.Message) End Try Let me know how that works. Of course, you'll have to use your own query but this should get you started. Thanks, Greg
... View more
Nov 11, 2010
01:53 PM
NT AUTHORITY\LocalService in the User name field and no password did the trick. Thanks, Greg
... View more
Nov 11, 2010
01:25 PM
I am installing a service and by default it gets installed under the Local System account. How do I change this so that it logons with the Local Service account? I've tried specifiying "Local Service" and "./Local Service" for the username on the service but no matter what I put, I keep getting a -1923: Verify that you have sufficient privileges to install system services. I've tried giving Administrators Full Control on the permissions of the service file but that didn't seemto do anything. Anyone know how to do this? Thanks, Greg
... View more
Labels
- Labels:
-
InstallShield 2011
Nov 11, 2010
10:52 AM
I would try looking at something like this instead of CreateObject: Dim oMSI As Object = Activator.CreateInstance("WindowsInstaller.Installer") How many SQL Scripts do you have and why are you numbering them? Just trying to figure out why you have an external tool to do this.
... View more
Nov 11, 2010
10:39 AM
Have you tried just Network Service (with a space and no ./)?
... View more
Nov 10, 2010
05:25 PM
What exactly are you trying to do with your old VBScript? Chances are that there are better ways to accomplish the task without using the old VBScript. Please provide more detail.
... View more
Nov 02, 2010
10:13 AM
I have configured an application in the IIS section of the IS IDE. When I run my install, it takes minutes to complete the Custom Action: Creating IIS virtual directories 'xxxx' Why does this take so long? it does complete successfully but I never noticed this behavior in IS2009. Is there something I can do to speed this up? Is it doing something in the background like turning off IIS or something else? It takes about 2-3 minutes per application configured. Thanks, Greg
... View more
Labels
- Labels:
-
InstallShield 2011
Nov 01, 2010
02:16 PM
We went through and thought we had all the web.config file Read Only attribute turned off but we ended up missing one. When we turned it off, the install worked fine. So, my question is why do the web.config files need to have Read Only turned off? What does the install modify in these files during the install? Is it something that IS engine is doing or one of our scripts? I didn't see anything in our scripts that are modifying the web.config so I'm curious. Thanks, Greg
... View more
Nov 01, 2010
12:07 PM
Update: I just need to know how to do number 1. Anyone have any ideas? Thanks, Greg
... View more
Nov 01, 2010
09:59 AM
Please see attched log. On this install, I removed the IISPREFERLEGACYOBJECTS property and had the application pool and all applications set for the 4.0 Framework and the ASP.NET platform to 32 bit.
... View more
Oct 30, 2010
08:20 PM
I tried recreating all of the objects in the IIS IDE of InstallShield - the 1 application pool and the 3 applications in my converted project. I set the application pool to use .NET 4.0 and the Enable 32 bit flag to Yes. On the Applications, I set them all to use ASP.NET version 4.0.30919 (I think that is the version) and set the ASP.NET Platform to 32 Bit. Now, here is the odd thing. My converted project fails when I have all of these set but it doesn't in the test project I created that just has these elements defined. If I remove the .NET 4.0 version from the application pool and the versions from the applications, the install from my converted project works but then the application pool is set to No Managed Code and not .NET 4.0. So, I don't know what is causing the problem. I have my own log file and the process stops immediately after the OnMoving() event and never gets to the OnMoved() event. What does InstallShield do between these 2 events because that is when it is causing the IISRT error. I don't have the error number with me but I can remember it is a -214xxxxxx number. I have even tried creating the IISPREFERLEGACYOBJECTS property with a value of 1 to see if that would work and it would not. Would setting it to 0 do anything? I really don't want to recreate the project because this is a very complicated project. Any thoughts?
... View more
Oct 29, 2010
02:00 PM
I created a blank MSI project and just created the application pool and set it to .NET 4.0 and it worked fine so it must be project related. Anyonw have any ideas on what might be happening? I'm getting the error with IISRT when I set it.
... View more
Oct 29, 2010
01:46 PM
InstallShield MSI project... I have an Applicaiton Pool that I have created in the IS IIS section. When I set the .NET version for the pool to .NET 4.0, the install fails. If I leave it blank, the install succeeds but then after the install in IIS, the application pool is set to No Managed Code. Is there something else I need to do or what is causing this behavior? This was a converted project from IS2009 and there is no IISPREFERLEGACYOBJECTS property. Thanks, Greg
... View more
Labels
- Labels:
-
InstallShield 2011
Latest posts by gknierim
Subject | Views | Posted |
---|---|---|
455 | Dec 15, 2011 08:13 PM | |
494 | Dec 14, 2011 09:03 PM | |
942 | Dec 14, 2011 08:19 AM | |
1904 | Dec 13, 2011 02:28 PM | |
942 | Dec 13, 2011 02:26 PM | |
1434 | Dec 07, 2011 10:07 AM | |
506 | May 13, 2011 10:16 AM | |
2278 | May 12, 2011 04:30 PM | |
1131 | May 12, 2011 10:42 AM | |
1131 | May 11, 2011 05:54 PM |
Activity Feed
- Posted Re: Run SQL Scripts based on Specific Version on InstallShield Forum. Dec 15, 2011 08:13 PM
- Posted Re: Subfeature Selection on InstallShield Forum. Dec 14, 2011 09:03 PM
- Posted Re: Features and subfeatures on InstallShield Forum. Dec 14, 2011 08:19 AM
- Posted Subfeature Selection on InstallShield Forum. Dec 13, 2011 02:28 PM
- Posted Re: Features and subfeatures on InstallShield Forum. Dec 13, 2011 02:26 PM
- Posted Run SQL Scripts based on Specific Version on InstallShield Forum. Dec 07, 2011 10:07 AM
- Posted Re: SQLServerSelect Browse List Empty on InstallShield Forum. May 13, 2011 10:16 AM
- Posted SQLServerSelect Browse List Empty on InstallShield Forum. May 12, 2011 04:30 PM
- Posted Re: How to test if IP Address is accessible on InstallShield Forum. May 12, 2011 10:42 AM
- Posted Re: How to test if IP Address is accessible on InstallShield Forum. May 11, 2011 05:54 PM
- Posted Re: How to test if IP Address is accessible on InstallShield Forum. May 11, 2011 05:23 PM
- Posted Re: Registry entry not being created on InstallShield Forum. May 11, 2011 04:47 PM
- Posted How to test if IP Address is accessible on InstallShield Forum. May 11, 2011 04:27 PM
- Posted Re: Remote Folder Access on InstallShield Forum. Apr 26, 2011 01:11 PM
- Posted Remote Folder Access on InstallShield Forum. Apr 26, 2011 10:55 AM
- Posted Re: ISAPI Settings in IIS7 on InstallShield Forum. Jan 18, 2011 07:48 AM
- Posted Re: Help for adapting the code for VB 2008 on InstallShield Forum. Nov 13, 2010 12:32 PM
- Posted Re: Get service to run under Local Service on InstallShield Forum. Nov 11, 2010 01:53 PM
- Posted Get service to run under Local Service on InstallShield Forum. Nov 11, 2010 01:25 PM
- Posted Re: Help for adapting the code for VB 2008 on InstallShield Forum. Nov 11, 2010 10:52 AM