This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
sureshkottakki
Level 6
- Revenera Community
- :
- About sureshkottakki
Dec 08, 2016
12:00 AM
Please let me know whether this is possible through Installshield or not
... View more
Dec 07, 2016
07:13 AM
Hi , I need to create a setup(we usually create Installscript MSI projects) which has to import my particular .bas Macro to Word. Could you please help me out in doing this requirement. Thanks in advance
... View more
Labels
- Labels:
-
InstallShield 2014
Oct 12, 2016
07:19 AM
Hi , We are setting the registry value in OnResumeUIBefore() function RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE); RegDBSetKeyValueEx("SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{#GUID#}", "Publisher", REGDB_STRING, "XYZ", -1); But still publisher name is not getting changed to XZY in control panel > programs and features, it is still showing "Ihr Firmenname" after upgrade
... View more
Oct 07, 2016
02:13 AM
Hi, We have created InstallScript MSI projects, all the projects have English, French and German as Setup Languages; and English as default language.Under General Information tab we filled our Company name(say XYZ) in Publisher field. While running the setup if we select English as a language , we can see XYZ as a Publisher name in Control panel. But if we select French or German we have seen some odd names in Publisher column in control panel > programs and features, so we changed the names to XZY in String Editor for COMPANY_NAME Identifier , so now if we select any language we can see XZY as a publisher name in control panel > programs and features for fresh installation which is working as expected now. But main problem is while upgrade, before changing the COMPANY_NAME Identifier we have already deployed our setup in few production systems with German language , here it is showing (say "Ihr Firmenname") as Publisher name in control panel > programs and features, when we upgrade to our latest setup , publisher name is not getting changed to XZY in control panel > programs and features, it is still showing "Ihr Firmenname". Please help us in changing the publisher name while upgrade. Thanks in advance
... View more
Labels
- Labels:
-
InstallShield 2014
Sep 16, 2016
02:21 AM
Can you suggest how to check whether the package is running in fresh installation or upgrade?
... View more
Aug 31, 2016
03:26 AM
Hi rguggisberg , We changed to SQLServerSelectLoginEx dialog which solved our problem, thank you for your inputs.
... View more
Aug 26, 2016
08:46 AM
Hi rguggisberg , After changing to SQLServerSelectLogin2( szConnection, szServer, szUser, szPassword, bWinLogin, szDB, TRUE , FALSE); , we are getting "CREATE TABLE permission denied in database 'master' " error message while installing in Azure machines.
... View more
Aug 12, 2016
06:10 AM
Hi rguggisberg, I could able to show two SQL Dialogs and could able to control the flow by creating similar function to OnSQLLogin. But one issue with this is not able to differentiate between the two dialogs , from both the functions we are calling SQLServerSelectLogin(szServer, szUser, szPassword, bWinLogin) dialog. Is there any way to differentiate the Dialog wording to tell the user which connection string they were entering the values?
... View more
Aug 02, 2016
09:55 AM
Hi, Through Suite installer we are passing this /s /f1"[SETUPSUPPORTDIR]\Setup.iss" in EXE Silent Command Line setting , it is not possible to change the iss file according to Upgrade or fresh installation at run time
... View more
Aug 02, 2016
03:19 AM
Hi rguggisberg, We are having two SQL connections with names SQLConnection and PerfSQLConnection, we need to show PerfSQLConnection in only some conditions (say if string xyz="true"), can you suggest whether to write if condition in this case or to create another function similar to OnSQLLogin function? To be more clear we have 3 scenarios: 1)Need to show only SQLConnection related SQL dialog 2)Need to show both SQLConnection and PerfSQLConnection related SQL Dialogs, 3)Need to show only PerfSQLConnection related SQL Dialog. Below is the Installscript code ,can you suggest where to make the changes if we go with IF condition as you mentioned in earlier comment? //--------------------------------------------------------------------------- // OnSQLLogin //--------------------------------------------------------------------------- function number OnSQLLogin( nBtn ) string sMessage; string szConnection, szServer, szUser, szPassword, szDB, sTemp[MAX_PATH]; string szAuthentication,szNASVer,szSQLServerName,szInitialCatalog,szAuthenticationType,szSQLUserName,szSQLPassword; number nResult, nSize, nCount; BOOL bWinLogin, bNext, bPromptForSQLLoginInfo; LIST listConnections; number nvSize; begin nvSize = MAX_PATH; MsiGetProperty(ISMSI_HANDLE, "SQLSERVERADDRESS", szServer, nvSize); nvSize = MAX_PATH; MsiGetProperty(ISMSI_HANDLE, "SQLSERVERLOGIN", szUser, nvSize); nvSize = MAX_PATH; MsiGetProperty(ISMSI_HANDLE, "SQLSERVERPASSWORD", szPassword, nvSize); nvSize = MAX_PATH; MsiGetProperty(ISMSI_HANDLE, "SQLAUTHENTICATION", szAuthentication, nvSize); if (szAuthentication = "WINDOWS") then bWinLogin = TRUE; else bWinLogin = FALSE; endif; //First initialize SQL Server runtime SQLRTInitialize2(); // Suppress ISSQLSRV.DLL to show a connection error message. MsiSetProperty( ISMSI_HANDLE, "IS_SQLSERVER_CA_SILENT", "1" ); //Get the names of all the necessary connections listConnections = SQLRTGetConnections(); ListGetFirstString (listConnections, szConnection); nCount = 0; //determine if NEXT or BACK will be returned //if there are no connections to make if( nBtn != BACK ) then bNext = TRUE; else bNext = FALSE; //start at end if going BACK while (ISERR_SUCCESS = ListGetNextString( listConnections, szConnection ) ); nCount++; endwhile; endif; // Login for each connection while (nResult = ISERR_SUCCESS) //Get Default values for connection SQLRTGetConnectionInfo( szConnection, szServer, szDB, szUser, szPassword ); // Use our Default, not SQL Servers //bWinLogin = SQLRTGetConnectionAuthentication( szConnection ); // Display login dialog (without connection name) // COMMENT OUT TO SWAP DIALOGS //nResult = SQLServerSelectLogin2( szConnection, szServer, szUser, szPassword, bWinLogin, szDB, FALSE, TRUE ); // Display login dialog (with connection name) // UNCOMMENT TO SWAP DIALOGS //nResult = SQLServerSelectLogin2( szConnection, szServer, szUser, szPassword, bWinLogin, szDB, TRUE, TRUE ); // nResult = SQLServerSelectLogin(szServer, szUser, szPassword, bWinLogin); nvSize = MAX_PATH; MsiGetProperty(ISMSI_HANDLE, "NASVER", szNASVer, nvSize); if(szNASVer!="") then nvSize = MAX_PATH; MsiGetProperty(ISMSI_HANDLE, "SQLSERVERADDRESS", szServer, nvSize); nvSize = MAX_PATH; MsiGetProperty(ISMSI_HANDLE, "IS_SQLSERVER_DATABASE", szInitialCatalog, nvSize); nvSize = MAX_PATH; MsiGetProperty(ISMSI_HANDLE, "SQLAUTHENTICATION", szAuthentication, nvSize); nvSize = MAX_PATH; MsiGetProperty(ISMSI_HANDLE, "SQLSERVERLOGIN", szUser, nvSize); nvSize = MAX_PATH; MsiGetProperty(ISMSI_HANDLE, "SQLSERVERPASSWORD", szPassword, nvSize); if (szAuthentication = "WINDOWS") then bWinLogin = TRUE; else bWinLogin = FALSE; endif; nResult=NEXT; else nResult = SQLServerSelectLogin(szServer, szUser, szPassword, bWinLogin); endif; if( nResult = NEXT ) then //store data in case we need it again SQLRTPutConnectionInfo2( szConnection, szServer, szDB, szUser, szPassword ); SQLRTPutConnectionAuthentication( szConnection, bWinLogin ); //test connection nResult = SQLRTTestConnection2( szConnection, szServer, szDB, szUser, szPassword, bWinLogin ); nSize = MAX_PATH; MsiGetProperty( ISMSI_HANDLE, "IS_SQLSERVER_STATUS", sTemp, nSize ); if( sTemp != "0" ) then nSize = _MAX_PATH; MsiGetProperty( ISMSI_HANDLE, "IS_SQLSERVER_STATUS_ERROR", sMessage, nSize ); if( nSize = 0 ) then Sprintf(sMessage, SdLoadString( IDS_IFX_SQL_ERROR_LOGIN_FAILED ), szConnection, SdLoadString( ISCRIPT_E_UNKNOWN_ERROR_DESC )); endif; MessageBox( sMessage, MB_OK ); //Show same login dialog again nResult = ListCurrentString(listConnections, szConnection); else //SUCCESS //Move on to next connection nCount++; bNext = TRUE; nResult = ListGetNextString(listConnections, szConnection); endif; else //BACK nCount--; bNext = FALSE; nResult = ListSetIndex( listConnections, nCount ); ListCurrentString( listConnections, szConnection ); endif; endwhile; MsiSetProperty(ISMSI_HANDLE, "SQLSERVERADDRESS", szServer); MsiSetProperty(ISMSI_HANDLE, "SQLSERVERLOGIN", szUser); MsiSetProperty(ISMSI_HANDLE, "SQLSERVERPASSWORD", szPassword); if (bWinLogin = TRUE)then MsiSetProperty(ISMSI_HANDLE, "SQLAUTHENTICATION", "WINDOWS"); else MsiSetProperty(ISMSI_HANDLE, "SQLAUTHENTICATION", "SQL"); endif; if( bNext ) then return NEXT; else return BACK; endif; end;
... View more
Aug 01, 2016
09:27 AM
Hi , We have created an Installscript MSI project , in that we have one SQl connection which has few SQL scripts in it. From OnSQLLogin function we are calling SQLServerSelectLogin dialog. Now we had a new task to Show two SQL Dialogs in some cases only , according to one Property(or can be a string) value we need to show the second SQL dialog otherwise no need to show the second SQL dialog. Can anybody help us how to work on two SQL Dialogs ? Thanks in advance.
... View more
Labels
- Labels:
-
InstallShield 2014
Jul 28, 2016
08:54 AM
We can't move our projects to Basic MSI projects , we have lot of installscript code involved, we need to use Installscript MSI projects only
... View more
Jul 26, 2016
03:52 AM
Hi, I have created the .iss file and added that file in support directory and passing /s /f1"[SETUPSUPPORTDIR]\Setup.iss" in EXE Silent Command Line setting . But the .iss file created while fresh installation does not work while upgrade and .iss file created while upgrade does not work for fresh installation , so this is not working for us, we don't want to change .iss file everytime because we are not sure whether it is the fresh installation or its an upgrade in production.
... View more
Jul 25, 2016
07:22 AM
Hi, Last week I tried to pass /v"ISSilentInstall=true" from Suite installer to each packages in EXE Silent Command line , but not able to run in silent
... View more
Latest posts by sureshkottakki
Subject | Views | Posted |
---|---|---|
1018 | Dec 08, 2016 12:00 AM | |
1925 | Dec 07, 2016 07:13 AM | |
1719 | Oct 12, 2016 07:19 AM | |
3060 | Oct 07, 2016 02:13 AM | |
3323 | Sep 16, 2016 02:21 AM | |
2182 | Aug 31, 2016 03:26 AM | |
3320 | Aug 26, 2016 08:46 AM | |
3320 | Aug 12, 2016 06:10 AM | |
3320 | Aug 04, 2016 01:54 AM | |
3323 | Aug 02, 2016 09:55 AM |
Activity Feed
- Posted Re: Import .bas macro to word using Installshield on InstallShield Forum. Dec 08, 2016 12:00 AM
- Posted Import .bas macro to word using Installshield on InstallShield Forum. Dec 07, 2016 07:13 AM
- Posted Re: Publisher name in Installscript MSI project on InstallShield Forum. Oct 12, 2016 07:19 AM
- Posted Publisher name in Installscript MSI project on InstallShield Forum. Oct 07, 2016 02:13 AM
- Posted Re: Run Suite installer in Silent mode on InstallShield Forum. Sep 16, 2016 02:21 AM
- Posted Re: Two SQL Dialogs on InstallShield Forum. Aug 31, 2016 03:26 AM
- Posted Re: Two SQL Dialogs on InstallShield Forum. Aug 26, 2016 08:46 AM
- Posted Re: Two SQL Dialogs on InstallShield Forum. Aug 12, 2016 06:10 AM
- Posted Re: Two SQL Dialogs on InstallShield Forum. Aug 04, 2016 01:54 AM
- Posted Re: Run Suite installer in Silent mode on InstallShield Forum. Aug 02, 2016 09:55 AM
- Posted Re: Two SQL Dialogs on InstallShield Forum. Aug 02, 2016 03:19 AM
- Posted Two SQL Dialogs on InstallShield Forum. Aug 01, 2016 09:27 AM
- Posted Re: Run Suite installer in Silent mode on InstallShield Forum. Jul 28, 2016 08:54 AM
- Posted Re: Run Suite installer in Silent mode on InstallShield Forum. Jul 26, 2016 03:52 AM
- Posted Re: Run Suite installer in Silent mode on InstallShield Forum. Jul 25, 2016 07:22 AM
- Posted Re: Run Suite installer in Silent mode on InstallShield Forum. Jul 22, 2016 07:24 AM
- Posted Re: Run Suite installer in Silent mode on InstallShield Forum. Jul 19, 2016 04:26 AM
- Posted Run Suite installer in Silent mode on InstallShield Forum. Jul 13, 2016 08:55 AM
- Posted Re: Compare .Net Framework version in InstallScript MSI projects on InstallShield Forum. May 20, 2016 09:13 AM
- Posted Re: Compare .Net Framework version in InstallScript MSI projects on InstallShield Forum. May 18, 2016 08:47 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 18, 2019
12:10 PM
|