Jun 09, 2018
09:28 PM
This can be done. First add the exe to the Support Files. Then go to the Custom Actions view and create a new custom action to run the exe. Then go to Sequences > User Interface and remove all of the dialogs. When you run the msi, it will just run the exe, and the msi will not be installed as long as you don't add any components to the project.
... View more
Dec 23, 2016
04:08 PM
Use conditions on your custom action. To run the action during a full uninstall use: REMOVE="ALL" To run the action when a specific feature is being removed use: &featureName=2
... View more
Oct 07, 2016
05:51 PM
Changing the INSTALLDIR value shouldn't matter. Please explain what the 4 scenarios are. Is it Major Upgrade, Minor Upgrade, New install, and Patch? Which 2 are the ones not working? In your log snippet, you are running a Major Upgrade. Are the files getting successfully Un-registered during the removal of the old build? If not, maybe that is preventing the installation of the new build from registering the same files? During installation of the new build, do you get an error message when the self-registration fails?
... View more
Oct 07, 2016
04:41 AM
prototype BOOL isPortAvailable(STRING); function BOOL isPortAvailable(szPortNumber) STRING svCommand, svParams; STRING svLine; BOOL isAvailable; NUMBER nvFileHandle; begin isAvailable = TRUE; svCommand = SystemFolder ^ "netstat.exe"; svParams = " -an | find \"" + szPortNumber + "\" > \"" + FOLDER_TEMP ^ "stdout.txt\""; LaunchAppAndWait( svCommand, svParams, LAAW_OPTION_HIDDEN | WAIT); OpenFileMode (FILE_MODE_NORMAL); if(OpenFile (nvFileHandle, FOLDER_TEMP, "stdout.txt") < 0) then MessageBox ("OpenFile failed to open " + FOLDER_TEMP ^ "stdout.txt", SEVERE); abort; endif; while GetLine (nvFileHandle, svLine) = 0 if(svLine != "") then isAvailable = FALSE; endif; endwhile; CloseFile (nvFileHandle); return isAvailable; end;
... View more
Oct 07, 2016
03:59 AM
ipconfig won't work. Most devices connect through a router so testing for network connectivity is not the same as checking for access to the internet. You need to make a call outside of the network and receive an expected response to determine access to the internet. Microsoft uses NCSI (Network Connectivity Status Indicator) There are 2 ways. 1) Have the installer download http://www.msftncsi.com/ncsi.txt and check that you receive it. This is a plain text file containing the text "Microsoft NCSI" OR 2) Perform a DNS lookup on dns.msftncsi.com and verify the IP is 131.107.255.255. If not, assume there is no internet access.
... View more
Oct 07, 2016
03:41 AM
What are the conditions on the custom actions or components that are sometimes not installing properly, and which upgrade mode are they not working in?
... View more
Oct 07, 2016
03:38 AM
Sorry, I saw that you are using an InstallScript project as soon as I submitted my reply. My reply is obviously for MSI projects and I haven't touched an Installscript project in a couple years so it's not fresh in memory how to do this.
... View more
Oct 07, 2016
03:33 AM
Go to the dialog MaintenanceWelcome and change the text from this The InstallShield(R) Wizard will allow you to modify, repair, or remove [ProductName]. To continue, click Next. to this The InstallShield(R) Wizard will allow you to remove [ProductName]. To continue, click Next. Then change the behavior for the Next button. In the NewDialog event change the argument to ReadyToRemove Then change the behavior of the Back button for the ReadyToRemove dialog. Set the NewDialog argument to MaintenanceWelcome If you just want the unintsall to start right away when the installer is run, you can just remove all of the Maintenance mode dialogs from the sequence and instead just create a new Set Property custom action and set REMOVE="ALL". Sequence the action right after ISSetupFilesExtract (In both the Exec and UI sequences) with the conditions set to"Installed" without the quotes.
... View more
Oct 07, 2016
03:11 AM
It's just the way it is. There is a delay between seeing the extraction windows and the InstallWelcome dialog because they come from running 2 different applications. The first application being run is the setup.exe, which extracts the msi and setup prerequisites to the temp folder. After the setup.exe has done it's job, it triggers a different program to run called msiexec and gives it your msi file location as a parameter. The time with no GUI is the time between setup.exe extraction and msiexec loading your msi, which contains InstallWelcome. There are 2 things you can do to speed things up, although they may not be desirable. 1) Change Compression to Uncompressed. 2) Change Installshield Prerequisites Location to "Copy from Source Media". These changes will make it so your CAB files and prereqs are staged alongside your setup.exe instead of embedded within it, therefor it doesn't need to extract it all when you run it. It's nice to be able to just distribute a single file though so you might not want to do this.
... View more
Oct 07, 2016
02:56 AM
In the direct editor, go to the File table. Ctrl + F, type the name, then search If you are using dynamic file linking though they wont be in there. You will need to search the file system via windows explorer or another tool and try to determine which component has a dynamic link for the file's folder or one of it's parent folders.
... View more
Oct 07, 2016
02:51 AM
Merge modules don't have their own install sequence, they are merged in to the main installer at build time and files from the merge module are deployed at the same time as files from the main installer and other merge modules, based on their sequence value in the File table. The obvious solution is just don't install the same file names to the same location. Pick the one you want and remove the other or add conditions to their components if you want to sometimes deploy one and sometimes the other. If you you are set on deploying the unwanted one and having the wanted one install 2nd and overwrite the unwanted one, you need to find the files in the File table of the one you want to deploy 2nd, and set the "Sequence" value for those files to be higher than the ones you want to go first. I am guessing this doesn't work with dynamic file linking though.
... View more
Sep 20, 2016
04:20 AM
Go to Components, select your registry component, set Permanent to Yes.
... View more
Sep 20, 2016
04:17 AM
http://helpnet.installshield.com/installshield21helplib/helplibrary/IHelpSetPrereqCustom.htm#definingprerequisites_3951505599_1035052
... View more
Sep 20, 2016
04:10 AM
.NET 4.5 is newer than Installshield 2012 so it doesn't come with a PRQ file already for it. You need to create a new setup prerequisite for it. Tools > Prerequisite Editor Under Conditions click Add Select "A registry entry has a specified version value" Look for this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full And this value name: Release For the value to check, it will depend on your version of .NET framework. For example, version 4.5.2 will be 379893. Check the above registry value for yours. Run this prereq if: Data on target system is less than specified data In the Files to Include tab, point it to your .NET installer In the Application to Run tab, select your .NET installer from the drop down. In the next 2 boxes, enter "/q /norestart" without the quotes And then for return codes "1641,3010" without the quotes.
... View more
Sep 20, 2016
03:54 AM
If you are talking about the image just click it and replace the file name with your own or just clear it out. If you are talking about the greyed out "Installshield" on the bottom left of each dialog, look for IDS_INSTALLSHIELD in the String Editor and clear it out or replace the value. My understanding is that this is allowed, but frowned upon. You may want to check the EULA yourself to be sure.
... View more
Latest posts by sdnelson
Subject | Views | Posted |
---|---|---|
942 | Jun 09, 2018 09:28 PM | |
591 | Dec 23, 2016 04:08 PM | |
1327 | Oct 07, 2016 05:51 PM | |
1271 | Oct 07, 2016 04:41 AM | |
1515 | Oct 07, 2016 03:59 AM | |
1327 | Oct 07, 2016 03:41 AM | |
1730 | Oct 07, 2016 03:38 AM | |
1730 | Oct 07, 2016 03:33 AM | |
1061 | Oct 07, 2016 03:11 AM | |
778 | Oct 07, 2016 02:56 AM |
Activity Feed
- Posted Re: Wap an exe and leave no install trace on InstallShield Forum. Jun 09, 2018 09:28 PM
- Posted Re: How to execute custom action on uninstall on InstallShield Forum. Dec 23, 2016 04:08 PM
- Posted Re: not all upgrade scenarios are working on InstallShield Forum. Oct 07, 2016 05:51 PM
- Posted Re: How check port status in installshield on InstallShield Forum. Oct 07, 2016 04:41 AM
- Posted Re: Check if Internet Connection Available on InstallShield Forum. Oct 07, 2016 03:59 AM
- Posted Re: not all upgrade scenarios are working on InstallShield Forum. Oct 07, 2016 03:41 AM
- Posted Re: Disable Maintenance Mode on InstallShield Forum. Oct 07, 2016 03:38 AM
- Posted Re: Disable Maintenance Mode on InstallShield Forum. Oct 07, 2016 03:33 AM
- Posted Re: Installer is taking time to get the first window after extraction window on InstallShield Forum. Oct 07, 2016 03:11 AM
- Posted Re: Is there a way to find a file in my installer project ? on InstallShield Forum. Oct 07, 2016 02:56 AM
- Posted Re: How to install files after a merge module... on InstallShield Forum. Oct 07, 2016 02:51 AM
- Posted Re: Make component with registry key permanent on InstallShield Forum. Sep 20, 2016 04:20 AM
- Posted Re: add custom prerequisite to install shield on InstallShield Forum. Sep 20, 2016 04:17 AM
- Posted Re: .Net Framework 4.5 is not listed in Prerequisites in InstallShield 2012 Spring on InstallShield Forum. Sep 20, 2016 04:10 AM
- Posted Re: Need to hide/remove installshield logo from screens on InstallShield Forum. Sep 20, 2016 03:54 AM
- Posted Re: Installations error out when installing .NET on InstallShield Forum. Jul 25, 2014 11:54 PM
- Posted Re: Changing the locale of OK button in a MessageBox in InstallShield on InstallShield Forum. Jul 25, 2014 11:41 PM
- Posted Re: Remembering User and Password when Uninstalling and Reinstalling on InstallShield Forum. Jul 23, 2014 11:12 PM
- Posted Re: Basic Installation Needs on InstallShield Forum. Jul 23, 2014 10:56 PM
- Posted Re: Help me find/identify Visual C++ 2008 redistributable on InstallShield Forum. Jul 23, 2014 10:48 PM