Jul 01, 2014
02:36 AM
DLee65 wrote: I do not know if this will help you or not, but why not detect the instance name in the registry to see if it exists? If the 'normative' name is present then set a Property like DEFAULTDBFOUND. Then set a condition on the component that handles the sql scripts you have now. Hopefully they are self-contained within their own component. Also detect for a different instance name, as long as that list is limited, then you should be able set properties and setup additional sql scripts to handle the alternate scenario. As an aside, I am surprised that your application would work with a non-default sql instance name. That can only lead to problems if a client tries to setup a system using a full version of SQL server. Hopefully this puts you on the path for resolving the issue. I checked this already but this is not the case because we have an utility which changes all that name occurrences in the registries. However the Install Shield SQL stores the SQL Server name in some hidden or encrypted registry which is not being accessible directly. Thank you anyway.
... View more
Jun 18, 2014
02:50 AM
HI, I'm working with Install Shield 2013 basic msi project and I hit a problem for which couldn't find a solution yet. My problem is that I have an installer which runs an SQL script let's say "Install.sql" when installing and another SQL script "UnInstall.sql" when un-installing the application. All worked ok until some client changed the SQL Server name after installing our application. At this point when we tried to upgrade the application with a major upgrade an error "Error 27502.Could not connect to Microsoft SQL Server 'YYYYYY\SQLEXPRESS'. [DBNETLIB][ConnectionOpen (Connect()).]Specified SQL server not found. (6)". To thoroughly explain what happened I should add the below info: - the application stores in registries all the information related to the SQL Server connection string (IS_SQLSERVER_SERVER, ... , etc) so when upgrading the SQLLogin dialog would not be displayed and the SQL related properties are read from those registries. - when the client changed the SQL Serve name he changed also the SQL Server name from those registries so the registry information would be correct. The problem appear when the installer is trying to run the ISSQLServerUninstall (deferred CA) where it is trying to use the initial SQLServer name, which it is retrieved by the "ISSQLServerInitialize" CA. I read some more about and I think I've found a solution to this by using the IS_SQLSERVER_DO_NOT_USE_REG property set to 1 to not use for SQL operations the SQL registry information but the information delivered in SQLLogin dialog. Since, as I told you, I've hidden the SQLLogin dialog I wrote some CA's to set all the properties (IS_SQLSERVER_SERVER, etc) from SQLLogin dialog with the correct information stored by my application in registries on the fresh install time. Apparently the properties are set correctly until the "ISSQLServerInitialize" CA from the "Execute" section is executed and the "IS_SQLSERVER_SERVER" property value is changed to old SQL Server name. So, can anyone help understand why IS_SQLSERVER_DO_NOT_USE_REG property is not working as expected? Or I was doing some other error?
... View more
Labels
- Labels:
-
InstallShield 2013
Feb 04, 2013
09:07 AM
Hi, I got the same error in a Install Shield 2011 chained msi project also. I am trying to find the reason but until now I didn't find anything. Did you found a most probable cause for it in the chained projects? Thanks
... View more
Sep 03, 2012
05:58 AM
HI, I've encountered lately some very strange behavior on an Install Shield basic msi project. Shortly I want rename a file and to modify its content after copied locally but only when cetain condition is met. To do this I've wrote a 2 deferred VB custom actions and set the condition. The problem is that it seems the condition is evaluated twice and I don't know why. Let's say the condition is "IS_MAJOR_UPGRADE". The scripts should ran only when the condition is false. Presuming the installation is a Major Upgrade, looking in the log I found that at first the "IS_MAJOR_UPGRADE" property is set to "yes". Looking at my CA's they are marked to not be run do to condition "true" at the first evaluation step. But later the "IS_MAJOR_UPGRADE" property is evaluated again and it has no value this time so the condition is evaluated as "false" and my CA's are executed. Can someone expalin to me why is "IS_MAJOR_UPGRADE" property evaluated twice? And why, in case of deferred action, the execution condition evaluation is done twice?
... View more
Labels
- Labels:
-
InstallShield 2011
Jun 26, 2012
07:00 AM
Thank you for your help... I solved the problem for now using .rtf files and I hope we will move soon to IS2012...:)
... View more
Jun 25, 2012
07:15 AM
HI all, Recently I was required to change the EULA for some installers (basic MSI) and the new files I got are ".pdf" files. So This is the question: is there any possibility to use a PDF file for License file? Or the ".rtf" is the only supported format for license files? Thank you for your help, Tibi
... View more
Labels
- Labels:
-
InstallShield 2011
Mar 13, 2012
09:30 AM
Hi, is there any possibility to used cashed information in case of Major Upgrade? I want to use the information I entered in the SQLLogin dialog at first installation as the default selected values in SQLLogin dialog fields. Please, I really need information about this feature. Thanks, Tibi
... View more
Labels
- Labels:
-
InstallShield 2011
Oct 07, 2011
02:26 AM
Thank you Hidenori. It helped me indeed very much.
... View more
Sep 20, 2011
09:47 AM
Which protocols use ISSQLServerValidate to check the connection to the SQL Server? TCP/IP, Shared Pipes, VIA, Named Pipes? I ask this because I tried to use ISSQLServerValidate to check the connection to a SQLExpress 2008 which had enabled only "Named Pipes" and "Shared Memory" protocols and I got an error like:"Error 27502. Could not connect to Microsoft SQL Server ....\SQLEXPRESS'. [DBNETLIB][ConnectionOpen (Connect()).]Specified SQL server not found. (6)".
... View more
Labels
- Labels:
-
InstallShield 2011
Aug 18, 2011
07:37 AM
I have an installer (IS2011 Premier Version 17 HotFix A) which has 4 different features (let say A, B, C and D). My problem is quite strange: I select for installatin features A, C and D. The installation ends ok but when I look into the "INSTALLDIR" I find in there also the "Feature B" folder created and some (not all) of its binaries in it. Do anyone have any idea about what can produce such an behavior? Thank you very much.
... View more
Labels
- Labels:
-
InstallShield 2011
Latest posts by altis10
Subject | Views | Posted |
---|---|---|
896 | Jul 01, 2014 02:36 AM | |
3820 | Jun 18, 2014 02:50 AM | |
5163 | Feb 04, 2013 09:07 AM | |
1982 | Sep 03, 2012 05:58 AM | |
857 | Jun 26, 2012 07:00 AM | |
2036 | Jun 25, 2012 07:15 AM | |
1207 | Mar 13, 2012 09:30 AM | |
623 | Oct 07, 2011 02:26 AM | |
2244 | Sep 20, 2011 09:47 AM | |
1124 | Aug 18, 2011 07:37 AM |
Activity Feed
- Posted Re: SQL Server name change issue on InstallShield Forum. Jul 01, 2014 02:36 AM
- Posted SQL Server name change issue on InstallShield Forum. Jun 18, 2014 02:50 AM
- Posted Same error in an IS2011 chained msi project on InstallShield Forum. Feb 04, 2013 09:07 AM
- Posted Deferred Custom Action execution condition evaluated twice on InstallShield Forum. Sep 03, 2012 05:58 AM
- Posted Re: Is the ".rtf" the only format supported for License file? on InstallShield Forum. Jun 26, 2012 07:00 AM
- Posted Is the ".rtf" the only format supported for License file? on InstallShield Forum. Jun 25, 2012 07:15 AM
- Posted SQLLogin cached information for Major Upgrade on InstallShield Forum. Mar 13, 2012 09:30 AM
- Posted Re: Which protocols ISSQLServerValidate uses? on InstallShield Forum. Oct 07, 2011 02:26 AM
- Posted Which protocols ISSQLServerValidate uses? on InstallShield Forum. Sep 20, 2011 09:47 AM
- Posted Binaries from a not installed feature copied on the hard drive. on InstallShield Forum. Aug 18, 2011 07:37 AM
- Posted I have the same problem... on InstallShield Forum. Apr 07, 2011 09:51 AM