This website uses cookies. By clicking OK, 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.
PlinyElder
Pilgrim
Sep 01, 2016
01:44 PM
So, what i ended up doing was 'Repairing' my current Installshield 2014 version that i currently run and now my Visual Studio integration is showing up. I think in my case that Visual Studio was installed AFTER Installshield so it obviously left out any type of VS integration files.
... View more
Sep 01, 2016
11:39 AM
Installshield Doc "Files created in InstallShield Professional or pre-3.x versions of InstallShield Express cannot be opened." .... WTF:mad:
... View more
Sep 01, 2016
11:27 AM
It doesnt recognize Installshield projects as a valid solution type file.
... View more
Aug 31, 2016
11:46 AM
I am running Installshield 2014 Premier edition but i have no option to run Installshield through Visual Studio. Was Visual Studio supposed to be installed first before Installshield was installed?
... View more
Labels
Aug 31, 2016
09:55 AM
Would that not defeat the purpose of UAC on the OS if an application could disable it? I think the best you can do is sign the packages so that they show your company name in the UAC dialog prompt.
... View more
Aug 23, 2016
02:01 PM
Are you also changing the Product Code for the application?
... View more
Aug 23, 2016
01:39 PM
In the upgrade section, create a Major upgrade item then set the Product Version to only trigger to the specific version or range of versions.
... View more
Aug 22, 2016
12:45 PM
It kind of depends on where that needs to be set. In suite projects you can set IsInstallMode=remove and in MSI projects you set REMOVE="ALL" for CustomAction sequence conditions. There is also some msi properties you can set to adjust the REINSTALLMODE, see Windows Install property reference
... View more
Aug 19, 2016
01:52 PM
Can you not just re-run the installer and choose the Remove option?
... View more
Aug 19, 2016
09:54 AM
Are you not seeing this in the Installshield ui?
... View more
Aug 19, 2016
09:44 AM
Do you have access to the code from the old installer? More than likely that prompt is triggered by some type of property value. For example if the old installer sees that the setup.exe is running in a mode of REMOVE=ALL then trigger this custom prompt. You would have to know what the old installer uses to trigger the CA in order to possibly pass a value to that property to force it to bypass the CA prompt.
... View more
Aug 17, 2016
10:09 AM
Both the loading screen and the prerequisite dialog cannot be customized, its hardcoded into Installshield/Windows Installer. There are things you can look at in the hardcoded data but its risky and you may break Installshield altogether so i've stayed away from it. For that information look at this thread
... View more
Aug 10, 2016
09:45 AM
Im am unaware of any way to hide the loading dialog, i think its directly related to Microsoft and the MSI that is extracting to run. Im assuming this is a Basic MSI project type? In that scebario the only way to NOT display that loading dialog is to not have the setup as an .exe but a .msi The .exe wrapper produces this loading dialog.
... View more
Aug 03, 2016
11:16 AM
Made a few adjustments, just replace the Setup.rul code with the code below and it will work Also i did this in the evaluatino version of Installshield 2015 so just rebuild and it will work //=========================================================================== // // File Name: Setup.rul // // Description: Blank setup main script file // // Comments: Blank setup is an empty setup project. If you want to // create a new project via. step-by step instructions use the // Project Assistant. // //=========================================================================== // Included header files ---------------------------------------------------- #include "ifx.h" export prototype RemoveRegistry(); //--------------------------------------------------------------------------- // OnFirstUIBefore // // First Install UI Sequence - Before Move Data // // The OnFirstUIBefore event is called by OnShowUI when the setup is // running in first install mode. By default this event displays UI allowing // the end user to specify installation parameters. // // Note: This event will not be called automatically in a // program...endprogram style setup. //--------------------------------------------------------------------------- function OnFirstUIBefore() number nResult, nLevel, nSize, nSetupType; string szTitle, szMsg, szOpt1, szOpt2, szLicenseFile; string szName, szCompany, szTargetPath, szDir, szFeatures; BOOL bLicenseAccepted; begin // Added in InstallShield 15 - Show an appropriate error message if // -removeonly is specified and the product is not installed. if( REMOVEONLY ) then Disable( DIALOGCACHE ); szMsg = SdLoadString( IDS_IFX_ERROR_PRODUCT_NOT_INSTALLED_UNINST ); SdSubstituteProductInfo( szMsg ); MessageBox( szMsg, SEVERE ); abort; endif; nSetupType = COMPLETE; szDir = TARGETDIR; szName = ""; szCompany = ""; bLicenseAccepted = FALSE; // Beginning of UI Sequence Dlg_Start: nResult = 0; Dlg_SdWelcome: szTitle = ""; szMsg = ""; //{{IS_SCRIPT_TAG(Dlg_SdWelcome) nResult = SdWelcome( szTitle, szMsg ); //}}IS_SCRIPT_TAG(Dlg_SdWelcome) if (nResult = BACK) goto Dlg_Start; Dlg_SdLicense2: szTitle = ""; szOpt1 = ""; szOpt2 = ""; //{{IS_SCRIPT_TAG(License_File_Path) szLicenseFile = SUPPORTDIR ^ "License.rtf"; //}}IS_SCRIPT_TAG(License_File_Path) //{{IS_SCRIPT_TAG(Dlg_SdLicense2) //nResult = SdLicense2Ex( szTitle, szOpt1, szOpt2, szLicenseFile, bLicenseAccepted, TRUE ); //}}IS_SCRIPT_TAG(Dlg_SdLicense2) if (nResult = BACK) then goto Dlg_SdWelcome; else bLicenseAccepted = TRUE; endif; Dlg_SdRegisterUser: szMsg = ""; szTitle = ""; //{{IS_SCRIPT_TAG(Dlg_SdRegisterUser) //nResult = SdRegisterUser( szTitle, szMsg, szName, szCompany ); //}}IS_SCRIPT_TAG(Dlg_SdRegisterUser) if (nResult = BACK) goto Dlg_SdLicense2; Dlg_SetupType2: szTitle = ""; szMsg = ""; nResult = CUSTOM; //{{IS_SCRIPT_TAG(Dlg_SetupType2) //nResult = SetupType2( szTitle, szMsg, "", nSetupType, 0 ); //}}IS_SCRIPT_TAG(Dlg_SetupType2) if (nResult = BACK) then goto Dlg_SdRegisterUser; else nSetupType = nResult; if (nSetupType != CUSTOM) then szTargetPath = TARGETDIR; nSize = 0; FeatureCompareSizeRequired( MEDIA, szTargetPath, nSize ); if (nSize != 0) then MessageBox( szSdStr_NotEnoughSpace, WARNING ); goto Dlg_SetupType2; endif; endif; endif; Dlg_SdAskDestPath2: if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SetupType2; szTitle = ""; szMsg = ""; if (nSetupType = CUSTOM) then //{{IS_SCRIPT_TAG(Dlg_SdAskDestPath2) nResult = SdAskDestPath2( szTitle, szMsg, szDir ); //}}IS_SCRIPT_TAG(Dlg_SdAskDestPath2) TARGETDIR = szDir; endif; if (nResult = BACK) goto Dlg_SetupType2; Dlg_SdFeatureTree: if ((nResult = BACK) && (nSetupType != CUSTOM)) goto Dlg_SdAskDestPath2; szTitle = ""; szMsg = ""; szFeatures = ""; nLevel = 2; if (nSetupType = CUSTOM) then //{{IS_SCRIPT_TAG(Dlg_SdFeatureTree) //nResult = SdFeatureTree( szTitle, szMsg, TARGETDIR, szFeatures, nLevel ); //}}IS_SCRIPT_TAG(Dlg_SdFeatureTree) if (nResult = BACK) goto Dlg_SdAskDestPath2; endif; Dlg_SQLServer: nResult = OnSQLServerInitialize( nResult ); if( nResult = BACK ) goto Dlg_SdFeatureTree; Dlg_ObjDialogs: nResult = ShowObjWizardPages( nResult ); if (nResult = BACK) goto Dlg_SQLServer; Dlg_SdStartCopy2: szTitle = ""; szMsg = ""; //{{IS_SCRIPT_TAG(Dlg_SdStartCopy2) nResult = SdStartCopy2( szTitle, szMsg ); //}}IS_SCRIPT_TAG(Dlg_SdStartCopy2) if (nResult = BACK) goto Dlg_ObjDialogs; // Added in 11.0 - Set appropriate StatusEx static text. SetStatusExStaticText( SdLoadString( IDS_IFX_STATUSEX_STATICTEXT_FIRSTUI ) ); return 0; end; //--------------------------------------------------------------------------- // OnFirstUIAfter // // First Install UI Sequence - After Move Data // // The OnFirstUIAfter event called by OnShowUI after the file transfer // of the setup when the setup is running in first install mode. By default // this event displays UI that informs the end user that the setup has been // completed successfully. // // Note: This event will not be called automatically in a // program...endprogram style setup. //--------------------------------------------------------------------------- function OnFirstUIAfter() STRING szTitle, szMsg1, szMsg2, szOpt1, szOpt2; NUMBER bvOpt1, bvOpt2; begin ShowObjWizardPages(NEXT); szTitle = ""; szMsg1 = ""; szMsg2 = ""; szOpt1 = ""; szOpt2 = ""; bvOpt1 = FALSE; bvOpt2 = FALSE; //{{IS_SCRIPT_TAG(Dlg_SdDinishEx) if ( BATCH_INSTALL ) then SdFinishReboot ( szTitle , szMsg1 , SYS_BOOTMACHINE , szMsg2 , 0 ); else SdFinish ( szTitle , szMsg1 , szMsg2 , szOpt1 , szOpt2 , bvOpt1 , bvOpt2 ); endif; //}}IS_SCRIPT_TAG(Dlg_SdDinishEx) // Uninstall registry entries RemoveRegistry(); end; //--------------------------------------------------------------------------- // OnMaintUIBefore // // Maintenance UI Sequence - Before Move Data // // The OnMaintUIBefore event is called by OnShowUI when the setup is // running in maintenance mode. By default this event displays UI that // allows the end user to add or remove features, repair currently // installed features or uninstall the application. // // Note: This event will not be called automatically in a // program...endprogram style setup. //--------------------------------------------------------------------------- function OnMaintUIBefore() number nResult, nType; string szTitle, szMsg; begin // nType defaults to MODIFY. nType = MODIFY; //Initialize SQL OnSQLServerInitializeMaint(); // Beginning of UI Sequence Dlg_Start: // Added in Version 9.5 - Support for REMOVEONLY option. if( !REMOVEONLY ) then // In standard mode show maintenance dialog Disable( BACKBUTTON ); nType = SdWelcomeMaint( szTitle, szMsg, nType ); Enable( BACKBUTTON ); nResult = NEXT; else // Hide the initial progress dialog as otherwise the user can // click on it, and hide the MessageBox. Disable( DIALOGCACHE ); // In RemoveOnly mode, set to remove. nType = REMOVEALL; endif; // Show Uninstall Confirmation Dialog if ( nType = REMOVEALL ) then nResult = MessageBox( SdLoadString( IFX_MAINTUI_MSG ), MB_YESNO ); if (nResult != IDYES ) then if( REMOVEONLY ) then // In REMOVEONLY mode, abort the setup. abort; else // In non-REMOVEONLY mode, redisplay the previous dialog. goto Dlg_Start; endif; endif; endif; Dlg_SdFeatureTree: if ( nType = MODIFY ) then szTitle = ""; szMsg = SdLoadString( SD_STR_COMPONENT_MAINT_MSG ); nResult = SdFeatureTree( szTitle, szMsg, TARGETDIR, "", -1 ); if ( nResult = BACK ) goto Dlg_Start; endif; Dlg_ObjDialogs: nResult = ShowObjWizardPages( nResult ); if ( ( nResult = BACK ) && ( nType != MODIFY ) ) goto Dlg_Start; if ( ( nResult = BACK ) && ( nType = MODIFY ) ) goto Dlg_SdFeatureTree; switch(nType) case REMOVEALL: // Ensure that all previously installed features are removed. FeatureRemoveAllInMediaAndLog(); // Uninstall registry entries RemoveRegistry(); // Added in 11.0 - Set appropriate StatusEx static text. SetStatusExStaticText( SdLoadString( IDS_IFX_STATUSEX_STATICTEXT_MAINTUI_REMOVEALL ) ); case REPAIR: // Changed for DevStudio 9, Disk1 files are now always updated when installed // so when running from ADDREMOVE we need to prevent these files from being // updated since this will result in files being updated that are locked by the setup. // Updating these files when running from ADDREMOVE should not be needed since updates // are not run directly from Add/Remove. if( ADDREMOVE ) then // Reinstall all previously installed features, except // disk1 features. FeatureUpdate( "" ); else // Reinstall all previously installed features. FeatureReinstall(); endif; // Added in 11.0 - Set appropriate StatusEx static text. SetStatusExStaticText( SdLoadString( IDS_IFX_STATUSEX_STATICTEXT_MAINTUI_REPAIR ) ); case MODIFY: // Added in 11.0 - Set appropriate StatusEx static text. SetStatusExStaticText( SdLoadString( IDS_IFX_STATUSEX_STATICTEXT_MAINTUI_MODIFY ) ); endswitch; end; function RemoveRegistry() begin RegDBSetDefaultRoot(HKEY_CURRENT_USER); //Set Root key RegDBDeleteKey("SOFTWARE\\MyProgram"); //Delete Key //MessageBox("Deleted HKEY_CURRENT_USER", INFORMATION); RegDBSetDefaultRoot(HKEY_LOCAL_MACHINE); // Change Root key RegDBDeleteKey("SOFTWARE\\MyProgram"); //Delete Key //MessageBox("Deleted HKEY_LOCAL_MACHINE\", INFORMATION); REGDB_OPTIONS = REGDB_OPTION_WOW64_64KEY; //Set root key to look in the 64bit part of the registry RegDBDeleteKey("SOFTWARE\\MyProgram"); //Delete Key end;
... View more
Aug 03, 2016
09:35 AM
What if you create a small piece of installscript code to set the fresh install or upgrade .iss path into a PROPERTY and then on suite initialization you call that installscript code to set the PROPERTY based on if an upgrade is detected or a fresh install is detected? That would probably work.
... View more
Latest posts by PlinyElder
Subject | Views | Posted |
---|---|---|
863 | Sep 01, 2016 01:44 PM | |
863 | Sep 01, 2016 11:39 AM | |
863 | Sep 01, 2016 11:27 AM | |
3199 | Aug 31, 2016 11:46 AM | |
1029 | Aug 31, 2016 09:55 AM | |
740 | Aug 23, 2016 02:01 PM | |
740 | Aug 23, 2016 01:39 PM | |
797 | Aug 22, 2016 12:45 PM | |
886 | Aug 19, 2016 01:52 PM | |
677 | Aug 19, 2016 09:54 AM |
Activity Feed
- Posted Re: Missing Visual Studio integration on InstallShield Forum. Sep 01, 2016 01:44 PM
- Posted Re: Missing Visual Studio integration on InstallShield Forum. Sep 01, 2016 11:39 AM
- Posted Re: Missing Visual Studio integration on InstallShield Forum. Sep 01, 2016 11:27 AM
- Posted Missing Visual Studio integration on InstallShield Forum. Aug 31, 2016 11:46 AM
- Posted Re: How to disable UAC on launching application. on InstallShield Forum. Aug 31, 2016 09:55 AM
- Posted Re: Contingent Upgrades on previous product version on InstallShield Forum. Aug 23, 2016 02:01 PM
- Posted Re: Contingent Upgrades on previous product version on InstallShield Forum. Aug 23, 2016 01:39 PM
- Posted Re: How do I overwrite an old installers customActions with something from my new install on InstallShield Forum. Aug 22, 2016 12:45 PM
- Posted Re: Msg: Setup created with EVALUATION VERSION on InstallShield Forum. Aug 19, 2016 01:52 PM
- Posted Re: How to disable install button when all feature checkboxes are unchecked by user? on InstallShield Forum. Aug 19, 2016 09:54 AM
- Posted Re: How do I overwrite an old installers customActions with something from my new install on InstallShield Forum. Aug 19, 2016 09:44 AM
- Posted Re: How to hide prerequisite window on InstallShield Forum. Aug 17, 2016 10:09 AM
- Posted Re: How to hide prerequisite window on InstallShield Forum. Aug 10, 2016 09:45 AM
- Posted Re: InstallScript Project Registry on InstallShield Forum. Aug 03, 2016 11:16 AM
- Posted Re: Run Suite installer in Silent mode on InstallShield Forum. Aug 03, 2016 09:35 AM
- Posted Re: InstallScript Project Registry on InstallShield Forum. Aug 02, 2016 08:51 AM
- Posted Re: Two SQL Dialogs on InstallShield Forum. Aug 01, 2016 02:19 PM
- Posted Re: InstallScript Project Registry on InstallShield Forum. Aug 01, 2016 02:14 PM
- Posted Re: How to use ifx functions in Suite installation on InstallShield Forum. Aug 01, 2016 11:31 AM
- Posted Re: InstallScript Project Registry on InstallShield Forum. Aug 01, 2016 11:29 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 18, 2019
12:10 PM
|