Feb 18, 2016
08:45 PM
You'll need to use a scripting tool such as AutoIT or IExpress to package the installer, options and responce recording file. IExpress is part of windows and can create self-extracting EXE - https://technet.microsoft.com/en-us/library/dd346760.aspx
... View more
Nov 24, 2015
11:06 AM
From http://stackoverflow.com/questions/4354617/how-to-make-get-a-multi-size-ico-file there are some standard size for ICO graphics and you can merge multiple sizes into one ICO file with ImageMagick or ICOfx (30 day trial) 256x256 will be saved as 32bpp 8bit alpha 48x48 will be saved as 32bpp 8bit alpha 48x48 will be saved as 8bpp 1bit alpha 32x32 will be saved as 32bpp 8bit alpha 32x32 will be saved as 8bpp 1bit alpha 32x32 will be saved as 4bpp 1bit alpha 16x16 will be saved as 32bpp 8bit alpha 16x16 will be saved as 8bpp 1bit alpha 16x16 will be saved as 4bpp 1bit alpha
... View more
Sep 14, 2015
07:33 PM
There is also https://msdn.microsoft.com/en-us/library/97af8hh4(v=vs.110).aspx
... View more
Sep 14, 2015
07:32 PM
You could use a combination of the RegEx tests here: http://stackoverflow.com/questions/7905929/how-to-test-valid-uuid-guid And methods to execute RegEx in InstallScript here: http://ulanoff.com/blogs/codeshack/2009/07/20/regular-expressions-in-installscript/
... View more
Sep 14, 2015
07:27 PM
ch_eng wrote: Ash, I think the equivalent is OnMaintUIAfter. You can get to it by opening Setup.rul in your InstallScript editor; choose "After Move Data" from the first dropdown and "OnMaintUIAfter" for the second. HTH Uninstall actions should occur during OnMaintUIBefore. Call your uninstall functions before the line FeatureRemoveAllInMediaAndLog(); which performs the uninstall actions and deletes the features. If you put it after this there will be no files in the SUPPORTDIR folder. Or you could put the steps in the OnUninstall events for each of your features, which would be called by FeatureRemoveAllInMediaAndLog() // 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. Also consider adding a dialog option to the OnAbort event to display dialog and allow the option to uninstall files or perform cleanup tasks.
... View more
Sep 14, 2015
07:14 PM
Lee1212 wrote: Hi I have created a setup that can be run in silent install and it work fine. I have a question regarding how can I know that the setup ends? Thanks Who needs to know? You could set a registry with the success state if you have a monitoring service or another installer that needs to know the exit state. Or you could have the installer launch notepad with a text file for final install instructions, or a VBS script to announce the installation has completed if you want a visable notice. The final install state should also be recorded in the Windows Application Event log for MSI or InstallScriptMSI installations. If your installer is InstallScript, it could write to the event log too.
... View more
Sep 14, 2015
07:09 PM
Pratik Tayde wrote: Hi, We have some metadata files which are required by our application at runtime. These files are generated after installer creation and we do not want to include them in installer and do the rebuilding. we want to pass them as a zip and extract them at a specified location via installshield installer. Answer depends on the OS you are deploying to. You could use a 3rd party tool like 7zip and use the command line options to extract the files from your SUPPORTDIR, or you could use a VBS script or another tool, to call the native compression functionality in WinXP and above (see http://www.aspfree.com/c/a/Windows-Scripting/Compressed-Folders-in-WSH/ From Windows 8 on, .Net Framework 4.5 is installed by default, so you could call System.IO.Compression.ZipArchive, see http://stackoverflow.com/a/26843122/71312
... View more
Sep 14, 2015
06:56 PM
You didn't state which OS you are deploying too, but if you are using WinXP or higher you can use the native OS tools to extract files with a VBS script see - http://www.aspfree.com/c/a/Windows-Scripting/Compressed-Folders-in-WSH/
... View more
Sep 14, 2015
02:56 PM
FYI, the MSDN article defining the meaning of the constants is now at https://msdn.microsoft.com/en-us/library/windows/desktop/gg258116(v=vs.85).aspx
... View more
Latest posts by orearv2
Subject | Views | Posted |
---|---|---|
533 | Feb 18, 2016 08:45 PM | |
817 | Nov 24, 2015 11:06 AM | |
937 | Sep 14, 2015 07:33 PM | |
937 | Sep 14, 2015 07:32 PM | |
817 | Sep 14, 2015 07:29 PM | |
865 | Sep 14, 2015 07:27 PM | |
6456 | Sep 14, 2015 07:14 PM | |
1226 | Sep 14, 2015 07:09 PM | |
1226 | Sep 14, 2015 06:56 PM | |
723 | Sep 14, 2015 02:56 PM |
Activity Feed
- Posted Re: InstallScript Silent install best practices on InstallShield Forum. Feb 18, 2016 08:45 PM
- Posted Re: Setup.exe Icon File Question on InstallShield Forum. Nov 24, 2015 11:06 AM
- Posted Re: GUID Regular expression using installscript on InstallShield Forum. Sep 14, 2015 07:33 PM
- Posted Re: GUID Regular expression using installscript on InstallShield Forum. Sep 14, 2015 07:32 PM
- Posted Re: Setup.exe Icon File Question on InstallShield Forum. Sep 14, 2015 07:29 PM
- Posted Re: Uninstall tasks related question for InstallScript MSI project. on InstallShield Forum. Sep 14, 2015 07:27 PM
- Posted Re: How to know when silent install finished on InstallShield Forum. Sep 14, 2015 07:14 PM
- Posted Re: Extracting zip through installscript installer on InstallShield Forum. Sep 14, 2015 07:09 PM
- Posted Re: Extracting zip through installscript installer on InstallShield Forum. Sep 14, 2015 06:56 PM
- Posted Re: Folder Permissions on InstallShield Forum. Sep 14, 2015 02:56 PM