Jun 02, 2014
02:14 PM
I have an installscript where I am populating values of IS_SQLSERVER_SERVER, IS_SQLSERVER_DATABASE from the SQL dialog SQLServerSelectLogin2. When I read the properties right afterwards, they reflect the values I entered in the SQL dialog. However, when I try to read them at a different stage, like MoveData\OnInstallFilesActionAfter, or AfterMoveData\OnFirstUIAfter, the properties are blank. What do I need to do to retain them throughout the installation? Thanks!
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
May 18, 2014
11:20 PM
Just wondering if there is a built in function to connect to a database using a pre-existing UDL file in installscript. Is it possible to do this, or do we need to parse the UDL file? Thanks!
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
May 18, 2014
10:40 AM
After sleeping on the issue, I guess the question should be, does the XML appsearch resolve the property string in the XPATH? I am beginning to think it does not. I guess I'll have to take it up with Flexera...
... View more
May 18, 2014
12:52 AM
I am using the System Search utility to pull a value from a XML file and I'd like to use that value as the basis for another System Search in the same file. Is it possible to do this? I've tried using the [PROPERTY] but it just comes up blank. So, first system search XPath config: /DATASuite/Connection/DefaultPlant Value of Attribute: Name Property: DEFAULTPLANTNAME In the second search, /DATASuite/Connection/Site/Site[@Name=[DEFAULTPLANTNAME]] Value of Attribute: Connection Property: DEFAULTCONNECTIONSTRING Any ideas on how to make this work?
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
Sep 21, 2010
06:41 PM
hidenori wrote: You need to uncheck the "Create Catalog if Absent" checkbox, and add a script that will create a database catalog using the CREATE DATABASE statement. The script may need to be scheduled to run at login. Thanks, hidenori, once again. I had come to this conclusion but was hoping for another way - I had seen reference to Installshield Express making use of the [DATABASEDIR] property. I see this in the string editor - Identifier IDS__DatabaseFolder_DatabaseDir using [DATABASEDIR] as avalue. Is this not used at all in Installshield Pro? Thanks!
... View more
Sep 15, 2010
10:32 AM
[reposted from earlier post - forgot to change subject] thanks to the help in this board, I was able to customize the SQLServerSelectLogin2 dialog and add a browse button where the user can choose a directory path for the database location. Now, I have just realized that there is not a way to specify the database location in the SQL Scripts views of Installshield. can anyone point me to how I can customize the location of the database when Installshield creates it (i.e. the "Create Catalog if Absent" checkbox is checked.) Thanks!
... View more
Labels
- Labels:
-
InstallShield 2010
Sep 14, 2010
06:41 PM
thanks to the help in this board, I was able to customize the SQLServerSelectLogin2 dialog and add a browse button where the user can choose a directory path for the database location. Now, I have just realized that there is not a way to specify the database location in the SQL Scripts views of Installshield. can anyone point me to how I can customize the location of the database when Installshield creates it (i.e. the "Create Catalog if Absent" checkbox is checked.) Thanks!
... View more
Labels
- Labels:
-
InstallShield 2010
Sep 13, 2010
11:15 AM
I also tried the COmponent Wizard and entering "NT AUTHORITY\NetworkService" for the account. The installation dies with an "Error -1603". Is it possible to specify the network service account for service install? :confused: peakbagger66 wrote: Is it possible to specify the NetworkService account when configuring a service via the Organization\Components view in installshield? I can get it to install as LocalSystem if we leave it blank, but we need NetworkService instead. I have tried ".\NetworkService" but it fails during the install with a permissions error. Thanks!
... View more
Sep 10, 2010
07:16 PM
Is it possible to specify the NetworkService account when configuring a service via the Organization\Components view in installshield? I can get it to install as LocalSystem if we leave it blank, but we need NetworkService instead. I have tried ".\NetworkService" but it fails during the install with a permissions error. Thanks!
... View more
Labels
- Labels:
-
InstallShield 2010
Sep 09, 2010
05:08 PM
ch_eng wrote: If you open the SQLServerSelectLoginDlg.rul file in that folder, you should see the function definition for SQLServerSelectLogin2 HTH Thanks so much! You saved me two weeks (because that's how long it would have taken me to figure out I should look in the code 🙂 ).
... View more
Sep 08, 2010
03:25 PM
Thanks, I had looked in there, but did not find any .rul files that matched SQLServerSelectLogin2. there is nothing in the whole directory structure that matches that. I thought maybe it was hidden in a resource file the way the other dialog .ruls are...
... View more
Sep 08, 2010
11:40 AM
can't seem to find the code for this dialog. How would I go about customizing this? Specifically, I want to add an additional field towards the bottom of the dialog so the user can enter the address of a SQLReporting Services server, rather than create a new dialog to do that. I modified the template, but I need to get into the code to use the new field. Thanks!
... View more
Labels
- Labels:
-
InstallShield 2010
Aug 17, 2010
06:43 PM
Thanks guys, I made the script t-sql friendly and all is well. thanks again!
... View more
Aug 05, 2010
07:38 PM
I have a sql script that creates a database. I imported it into SQL Scripts. SQL I have the script written like this: /* Deployment script for Con.ContentServer.DB */ GO SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, NUMERIC_ROUNDABORT, QUOTED_IDENTIFIER OFF; GO :setvar DatabaseName "Con.ContentServer.DB" :setvar DefaultDataPath "C:\Program Files\Microsoft SQL Server\MSSQL10.CON\MSSQL\DATA" :setvar DefaultLogPath "C:\Program Files\Microsoft SQL Server\MSSQL10.CON\MSSQL\DATA" GO USE [master] GO :on error exit When I run the installer, it fails: Error 27506. Error executing SQL Script con.contentserver.db.sql. Line 15. Incorrect syntax near ':'. (102) I am not sure exactly where it is failing - Line 15 takes me to the GO directive after the :setvars. if I ignore the comments, it takes me to the GO directive just before the ':on error exit'. Am I better off running this another way? Any help would be appreciated!
... View more
Labels
- Labels:
-
InstallShield 2010
Latest posts by peakbagger66
Subject | Views | Posted |
---|---|---|
5277 | Jun 02, 2014 02:14 PM | |
5492 | May 18, 2014 11:20 PM | |
531 | May 18, 2014 10:40 AM | |
1344 | May 18, 2014 12:52 AM | |
893 | Sep 21, 2010 06:41 PM | |
1665 | Sep 15, 2010 10:32 AM | |
3403 | Sep 14, 2010 06:41 PM | |
2064 | Sep 13, 2010 11:15 AM | |
10171 | Sep 10, 2010 07:16 PM | |
887 | Sep 09, 2010 05:08 PM |
Activity Feed
- Posted Properties populated in OnFirstUIBefore are not available OnInstallFilesActionAfter on InstallShield Forum. Jun 02, 2014 02:14 PM
- Tagged Properties populated in OnFirstUIBefore are not available OnInstallFilesActionAfter on InstallShield Forum. Jun 02, 2014 02:14 PM
- Tagged Properties populated in OnFirstUIBefore are not available OnInstallFilesActionAfter on InstallShield Forum. Jun 02, 2014 02:14 PM
- Posted Installscript to connect to database using UDL? on InstallShield Forum. May 18, 2014 11:20 PM
- Posted Re: Is it possible to use System Search property in another System Search? on InstallShield Forum. May 18, 2014 10:40 AM
- Posted Is it possible to use System Search property in another System Search? on InstallShield Forum. May 18, 2014 12:52 AM
- Posted Re: SQL Scripts view on InstallShield Forum. Sep 21, 2010 06:41 PM
- Posted Allow users to select databasedir? on InstallShield Forum. Sep 15, 2010 10:32 AM
- Posted SQL Scripts view on InstallShield Forum. Sep 14, 2010 06:41 PM
- Posted Re: Specify NetworkService account when installing services? on InstallShield Forum. Sep 13, 2010 11:15 AM
- Posted Specify NetworkService account when installing services? on InstallShield Forum. Sep 10, 2010 07:16 PM
- Posted Re: Adding another field to SQLServerSelectLogin2 on InstallShield Forum. Sep 09, 2010 05:08 PM
- Posted Re: Adding another field to SQLServerSelectLogin2 on InstallShield Forum. Sep 08, 2010 03:25 PM
- Posted Adding another field to SQLServerSelectLogin2 on InstallShield Forum. Sep 08, 2010 11:40 AM
- Posted Re: Newbie SQL question - script fails when using SQL Scripts in install designer on InstallShield Forum. Aug 17, 2010 06:43 PM
- Posted Newbie SQL question - script fails when using SQL Scripts in install designer on InstallShield Forum. Aug 05, 2010 07:38 PM