Jan 22, 2016
03:38 PM
Thanks. Working now. One item to be aware of, if the machine already has .Net Framework 4.x.x, after the 4.6.1 preq is install, Microsoft reboots the machine. After you log back in, your install will continue. This version of the .NET Framework runs side-by-side with the .NET Framework 3.5 SP1 and earlier versions, but performs an in-place update for the .NET Framework 4, .NET Framework 4.5, .NET Framework 4.5., .NET Framework 4.5.2, and .NET Framework 4.6. For important information about this release, see the .NET Framework 4.6.1 Readme File. Maybe InstallShield can add the .prq to their site someday : AltPrqURL="http://saturn.installshield.com/is/prerequisites/microsoft .net framework 4.6.1 full.prq"
... View more
Jan 22, 2016
01:53 PM
InstallShield has .prq files you can download to use to add to IS2014 .etc. For example for 4.5.1 http://saturn.installshield.com/is/prerequisites/microsoft .net framework 4.5.1 full.prq But they don’t have one for 4.6.1 yet. I am looking for the secret path to Microsoft. (this is for 4.5.1, I need the url for 4.6.1) URL="http://download.microsoft.com/download/1/6/7/167F0D79-9317-48AE-AEDB-17120579F8E2/NDP451-KB2858728-x86-x64-AllOS-ENU.exe" (I know this piece for 4.6.1: URL="http://download.microsoft.com/download/??/??/????????????/NDP461-KB3102436-x86-x64-AllOS-ENU.exe" I don’t know the folder path or the GUID path. Thanks, Robert
... View more
- Tags:
- prq
- redistributables
Labels
- Labels:
-
InstallShield 2014
Mar 19, 2014
01:58 PM
I have a VB script that returns the highest IIS website on a webserver. I plan to use this information to make sure my new website is on the next number higher. (using InstallShield 2012 Basic MSI) Can the VB script set InstallShield Property values? ‘VBScript Stored in custom action’ OPTION EXPLICIT ' http://www.40fingers.net/WeblogsNews/Weblogs/tabid/58/ID/21/language/en-US ' return the highest number website so install can take the next number ' usage : cscript.exe gethighestwebsitenumber.vbs //NOLOGO ' 2 DIM CRLF, TAB DIM strServer DIM objWebService DIM strSiteIds DIM strSiteHighestId strSiteIds = "" TAB = CHR( 9 ) CRLF = CHR( 13 ) & CHR( 10 ) strServer = "localhost" ' WScript.Echo "Enumerating websites on " & strServer & CRLF SET objWebService = GetObject( "IIS://" & strServer & "/W3SVC" ) EnumWebsites objWebService ' Writes a message to the installer log Function LogInfo(msg) Dim rec, fso Set fso = CreateObject ("Scripting.FileSystemObject") Set rec = Session.Installer.CreateRecord(1) rec.StringData(0) = "ServerInstall: " & msg LogInfo = Session.Message(&H04000000, rec) set rec = Nothing set fso = Nothing End Function SUB EnumWebsites( objWebService ) DIM objWebServer, objWeb, strBindings, strBaseInfo FOR EACH objWebServer IN objWebService IF objWebserver.Class = "IIsWebServer" THEN set objWeb = getObject(objWebServer.adsPath & "/Root") ' strSiteIds = strSiteIds & strComma & objWebserver.Name strSiteHighestId = objWebserver.Name END IF NEXT 'Wscript.StdOut.Write strSiteHighestId LogInfo "Highest Web Site ID: " & strSiteHighestId END SUB Robert Edited to make VB script work and write Web Site ID to MSI log file.
... View more
- Tags:
- custom actions
Labels
- Labels:
-
InstallShield 2012
Jan 13, 2014
11:04 AM
vyuschuk, Thanks for the suggestions. I did add two custom actions to set IS_SQLSERVER_CONNECTIONS_TO_VALIDATE, one for MSSQL and another for Oracle. (There is not an InstallShield property of 'IS_SQLSERVER_CONNECTIONS_TO_VALIDATE') I added Doactions to the Next button of the choose database dialog. If user chose MSSQL, it would set IS_SQLSERVER_CONNECTIONS_TO_VALIDATE to the MSSQL connection to validate. The install runs through to the end without complaining that there is no Oracle, on a MSSQL machine, but I see many error lines in the MSI log file. So I am giving up and going with two separate installers. One for MS SQL machines and one for Oracle machines. In the end the installers will be cleaner and smaller since the one installer would not have both databases in the cab file. Robert
... View more
Jan 03, 2014
03:32 PM
I would desire one install that can install a database for either MS SQL Server or for Oracle Server along with a Web Server. I am using InstallShield 2012 (Basic MSI Project) In the SQL Scripts view I have two SQL Connections, one for MS SQL and one for Oracle. These connections have requirements, Microsoft SQL Server for the MS SQL one and Oracle for the Oracle connection. I only need the requirements meet for the connection that is part of the active feature. It seems the SqlScript is linked to the feature not the database connection. It appears...."By default, all the connections in the ISSQLConnection table will be validated." I do not want all connections validated. If the user selects the MS SQL option, that is the connection that will be used. If the user selects the Oracle option, then check for Oracle driver. The user's machine will have either MS SQL or Oracle, not necessarily both. Each of these connections and sql scripts are part of their own feature. I have added a custom dialog to allow the user to choose between database types [MS SQL or Oracle](exclusive). I am using remove and addlocal events on the next button to turn on/off the features. It appears InstallShield is turning off the one feature and leaving the one the user selected on. Good.(off Oracle feature, leave on MS SQL feature) I am checking this by calling the Custom Setup dialog box that displays features in a tree. I have even added a DoAction, ISSQLServerCosting to the next button to make sure the install knows which feature to run and which to skip. But after the user enters the information to the SQLLogin dialog box, the install try’s to validate both connections, since this machine only has MS SQL, the Oracle driver check fails. Is there a method to have InstallShield only validate the only connection needed? When I turn off one feature, why is the Oracle requirement still required? Do I need to make two separate installs? one for MS SQL and one for Oracle? Robert
... View more
Labels
- Labels:
-
InstallShield 2012
Apr 08, 2013
08:21 AM
Robert Dickau, thanks for the clue, I did not find anything in Direct Editor, but in the String Editor, search for 27502 and you will find: English (United States) IDS_ERROR_27502 Could not connect to [2] '[3]'. [4] Here I can add to the error message as I wish. I do not see a method to change the title of this message box. This does help. Robert
... View more
Mar 27, 2013
08:22 AM
Is there a way to add text to the ISSQLServerValidate error message box that InstallShield displays? This is a MSI basic install.
... View more
- Tags:
- issqlservervalidate
Labels
- Labels:
-
InstallShield 2012 Spring
Oct 26, 2007
08:10 AM
Gee, Yes, I found the same key last night. I am afraid setting BATCH_INSTALL=FALSE; will cause the install not to request the user to reboot, which one of my install does require. Just this reboot.ini file is not on the PC anymore and is unneeded. Why does InstallShield think it needs to add this key? Robert
... View more
Oct 25, 2007
04:09 PM
Cornel_gav, Not sure if you are doing a installscript or MSI install, but the main InstallShield IDE has 3 tabs, when you are in the Installation Designer tab, click on the General Information->Product Properties, there is a ‘Executable File’ field. Enter the executable file of your product that you want to make sure is not running during the uninstall. InstallShield will check this file is running during uninstall, I believe. If you have multiply executables, you will have to add code to handle each one. For Installscript you could do something like this: (Here I have stored the path to our executable in the registry during install, retrieve the path during the uninstall, check to see if file is there, then check to see if it is locked. If locked, stop the uninstall, all inside the OnMaintUIBefore() function.) bFileThere = Is(FILE_EXISTS, g_svZehIBDir ^ "prg\\zm.exe"); if (bFileThere) then bLocked = Is(FILE_LOCKED, g_svZehIBDir ^ "prg\\zm.exe"); if (bLocked) then MessageBox(IFX_PRODUCT_NAME + " is in use, please exit application.", SEVERE); abort; endif; endif; Robert
... View more
Oct 25, 2007
03:56 PM
Gee, My tester did use the delay reboot option so she could close her email, and she still received the error. I just tested another of my installs that normally does not need to be rebooted, but when I cause it to reboot, but holding open an exe, I get the error. Darn. I need to ship this install soon.
... View more
Oct 25, 2007
03:17 PM
Gee, I also have this problem with one of my installs. All of my installs are IS10.5 migrated to IS2008. All are installscript types. Most do not require a reboot. One does require a reboot, an Installshield installscript that was migrated from IS6 to IS10.5, then to IS2008. I have been ignoring the issue, because I was blaming it on my slow PC I have to test on. Now our Cert department is finding the problem too. Seems like a timing issue where InstallShield does not finish before the OS shuts down. I will start working on the problem tomorrow. Robert
... View more
Jul 12, 2007
08:20 AM
Thanks Debbie Landers, it did help. I also found the anwser in the Release notes. In you IntallShield IDE, be at the Installation Desinger tab, in the first column expand Media, select Releases. In the second column select your current release you are building, in the third column select the setup.exe tab, there is a Minimum Initialization Time you can set so your SplashTime gets this value. All the Help I quoted was from my IS2008 install. Thanks... (IS2008 Release Notes) Ability to Specify the Minimum Initialization Time InstallShield includes a new Minimum Initialization Time setting on the Setup.exe tab for a release in the Releases view. Use this setting to specify the minimum number of seconds that the installation should display the initialization dialog when end users run this release. InstallShield uses the value that you specify for this setting as the value of the SplashTime keyname in the Setup.ini file. This enhancement resolves issue IOC-000005571 Thanks for Robert Dickau’ sticky : Migrating Projects from pre-InstallShield 12
... View more
Jul 12, 2007
07:51 AM
I am building installscript installs with IS2008, and the splash screen only displays for a half second. In the setup.ini under the [Startup] Section is ‘SplashTime=’ keyword, the InstallShield 10.5 version defaulted to 5 seconds, the new 2008 version does not put a value. The help recommends you create a bat file or an executable to edit your setup.ini file each time you build as a post step. There should be a better way. Possible a template file used by IS to create the setpu.ini. How can I have all installs build with a 5 second splashtime like all my old installs (5.x, 6.x, 9.x 10.5)? Because of this change, I am being questioned why we upgraded to IS2008. Thanks, Robert From InstallShield Help: The SplashTime keyname specifies the length of time (in seconds) for which the startup graphic is displayed. -- During building the media, on the User Interface Panel, you can check to display small initialization dialog or large dialog If checked, the setup initialization dialog box is the small box that was shown by setups created with InstallShield Professional version 6.31 and earlier—unless the setup displays a security, Save And/or Run Setup, Choose Setup Language, or Qualifying Product(s) Detected dialog box, in which case the setup initialization dialog box is larger and is consistent with the rest of the end user dialog boxes, regardless of the state of this check box. If unchecked, the setup initialization dialog box is larger and is consistent with the rest of the end user dialog boxes. If this check box is unchecked, the setup initialization dialog box (and the Choose Setup Language dialog box, if any) are not displayed until the startup graphic closes. To specify the length of time for which the startup graphic displays, set Setup.ini’s [Startup] section’s SplashTime value. -- If you want to customize setup.ini further, modify it with a text editor. You can automate this process by using the Postbuild Options panel of the Release Wizard or the Execute Batch File property in the Releases view to launch a batch file or executable file that performs the desired modifications. Do not simply overwrite setup.ini with a modified copy from a previous media build; doing so could cause your installation to work improperly.
... View more
Labels
- Labels:
-
InstallShield 2008
Latest posts by rfitzpat
Subject | Views | Posted |
---|---|---|
1654 | Jan 22, 2016 03:38 PM | |
7604 | Jan 22, 2016 01:53 PM | |
4572 | Mar 19, 2014 01:58 PM | |
1118 | Jan 13, 2014 11:04 AM | |
2415 | Jan 03, 2014 03:32 PM | |
904 | Apr 08, 2013 08:21 AM | |
1685 | Mar 27, 2013 08:22 AM | |
2312 | Oct 26, 2007 08:10 AM | |
785 | Oct 25, 2007 04:09 PM | |
2312 | Oct 25, 2007 03:56 PM |
Activity Feed
- Posted Re: Download path for Microsoft .NET Framework 4.6.1 to create prq file on InstallShield Forum. Jan 22, 2016 03:38 PM
- Posted Download path for Microsoft .NET Framework 4.6.1 to create prq file on InstallShield Forum. Jan 22, 2016 01:53 PM
- Tagged Download path for Microsoft .NET Framework 4.6.1 to create prq file on InstallShield Forum. Jan 22, 2016 01:53 PM
- Tagged Download path for Microsoft .NET Framework 4.6.1 to create prq file on InstallShield Forum. Jan 22, 2016 01:53 PM
- Posted Can a VB script custom action either return a value or set a property? on InstallShield Forum. Mar 19, 2014 01:58 PM
- Tagged Can a VB script custom action either return a value or set a property? on InstallShield Forum. Mar 19, 2014 01:58 PM
- Posted Re: ISSQLServerValidate checks Database Server requirements even if feature is turned off on InstallShield Forum. Jan 13, 2014 11:04 AM
- Posted ISSQLServerValidate checks Database Server requirements even if feature is turned off on InstallShield Forum. Jan 03, 2014 03:32 PM
- Tagged ISSQLServerValidate checks Database Server requirements even if feature is turned off on InstallShield Forum. Jan 03, 2014 03:32 PM
- Posted Re: Can you add text to ISSQLServerValidate error message? on InstallShield Forum. Apr 08, 2013 08:21 AM
- Posted Can you add text to ISSQLServerValidate error message? on InstallShield Forum. Mar 27, 2013 08:22 AM
- Tagged Can you add text to ISSQLServerValidate error message? on InstallShield Forum. Mar 27, 2013 08:22 AM
- Posted Re: Uninstall problem after migrating from InstallShield 10 on InstallShield Forum. Oct 26, 2007 08:10 AM
- Posted Re: Uninstall problem on InstallShield Forum. Oct 25, 2007 04:09 PM
- Posted Re: Uninstall problem after migrating from InstallShield 10 on InstallShield Forum. Oct 25, 2007 03:56 PM
- Posted Re: Uninstall problem after migrating from InstallShield 10 on InstallShield Forum. Oct 25, 2007 03:17 PM
- Posted Re: SplashTime = nothing in IS2008 on InstallShield Forum. Jul 12, 2007 08:20 AM
- Posted SplashTime = nothing in IS2008 on InstallShield Forum. Jul 12, 2007 07:51 AM