Jul 27, 2015
05:25 AM
The moment the InstallScript setup.exe is completed (success/failure) in silent mode... there's a setup.log file that gets created in the same directory as setup.exe (if i'm not wrong here) based on that you can proceed. Also, you can check for the process based on your installer's name ....
... View more
Jul 27, 2015
05:16 AM
I guess there's no built-in way to do this. May be a powershell script as a pre-requiste may help, or a powershell custom action.
... View more
Jul 27, 2015
05:13 AM
Entries written to Registry key is by default logged for uninstallation by InstallScript. you may want to call Disable(LOGGING) just before the registry key write function and then enable the same.
... View more
Jul 27, 2015
04:56 AM
You can use SETUPEXEDIR for MSI based (Basic MSI, InstallScript-MSI) projects to get the setup.exe location.
... View more
Jul 27, 2015
04:30 AM
You can run a Prerequisite which creates a folder for you. It can be a VBScript/batch file which will be executed in a .prq.
... View more
Jun 16, 2015
10:51 AM
Yeah, you can set the pre-req's to be embedded in setup.exe... Right Click on the Pre-requisite >> Properties >> select "Extract from Setup.exe"
... View more
Jun 10, 2015
06:01 AM
Excerpts from the log here: [HTML]InstallShield 12:36:35: GetAdminSection for section 'system.webServer/handlers' and path 'MACHINE/WEBROOT/APPHOST/WebApplications/SISApps_GEO' and commitpath 'MACHINE/WEBROOT/APPHOST/WebApplications/SISApps_GEO'. InstallShield 12:36:35: PutPropertyValue: sProperty accessPolicy sValue Script, Read bIsPath 0 InstallShield 12:36:35: PutPropertyCommon: sProperty accessPolicy sValue Script, Read bIsPath 0 InstallShield 12:36:35: Setting property 'accessPolicy' to value 'Script, Read' for element 'system.webServer/handlers'. Old value: '513'. m_sSectionName : 'system.webServer/handlers'. InstallShield 12:36:35: put_value succeeded. get_StringValue now returns '0' with string value 'Read, Script'. InstallShield 12:36:35: CommitChanges for path 'MACHINE/WEBROOT/APPHOST/WebApplications/SISApps_GEO' and physical path 'D:\WebApplications\SISApps_GEO\'. InstallShield 12:36:35: CommitChanges failed with the following HRESULT: '-2147024891'. [/HTML] HRESULT: '-2147024891 This translates to "Access is denied" I guess there should be a config file probably read-only ... or may be not enough permissions to write/update.
... View more
Jun 05, 2015
03:57 AM
There's lot of things you can look for: Did the pre-requiste install or it's still in process ... check for it's process and install log if it has any Can the same prq be installed outside of InstallShield with same set of command line parameters (if any)
... View more
Jun 04, 2015
05:07 AM
May be you just missed the "Domain". I just tried with the below setting and that worked for me.
... View more
Jun 04, 2015
02:41 AM
I can think of InstallShield's build reports to your 2nd part of the question.. where people without InstallShield license can still see what went into the installer. This has helped us in case of Dynamic File linking where you can answer people's question to what went into installer (viz. InstallScript project- as there's no MSI so can't use Orca) from a given dynamically linked folder. look for the below folders (if you haven't already) in the InstaallShield project Release folder. "Report Files" in InstallScript projects "Reports" in MSI based projects Btn: I would be interested in the WiX part which you are taking about... could you share some link? we have been using WiX for an year and the report part which you mentions seems interesting.
... View more
Jun 03, 2015
12:44 AM
I guess it could be due to the conditions on the pre-requistes which is not satisfied on the particular system you been trying. In any ways, if you want to really verify if "ISSetupPrerequisites" folder is being created then just navigate to: Media >> Releases >> Setup.exe tab >>and then set "InstallShield Prerequisites Location" to "Copy From Source Media".
... View more
Jun 02, 2015
11:40 PM
if you have set "Extract from Setup.exe" then the pre-requistes will be bundled into the setup.exe wrapper
... View more
Jun 02, 2015
11:38 PM
I see that you want to get the return code of dism.exe when launched from InstallScript. I would recommend using "LaunchApplication" instead which has can help you find out the return code of the launched app (dism.exe in this case) InstallShield Help on LaunchApplication Note: If the application cannot be launched, the LAAW_PARAMETERS system variable’s nLaunchResult member contains the result of calling the Windows API function GetLastError after the CreateProcess or ShellExecuteEx call. If the function is successful and the LAAW_OPTION_WAIT option was specified, the LAAW_PARAMETERS system variable’s nLaunchResult member contains the return code of the launched application.
... View more
May 28, 2015
01:28 AM
RemoveExistingProducts sets UPGRADINGPRODUCTCODE in immediate execution and if you feel that's late then you can also look at these custom properties which InstallShield sets for you (action ISSetAllUsers) IS_MAJOR_UPGRADE and IS_MINOR_UPGRADE and for this to happen you should have set the upgrade item in your project.
... View more
May 22, 2015
01:46 AM
Uninstalling/removing the files/folders laid down by MSI is a default behavior and you are seeing that in a Major upgrade is obvious. In your case, if you still want to retain specific folders/components you may look at the component's setting "Permanent". Use this with caution as these files/folders will not be uninstalled at all. Usually this setting is used in case of font files. Hope this helps.
... View more
Latest posts by rrinblue22
Subject | Views | Posted |
---|---|---|
6867 | Jul 27, 2015 05:25 AM | |
938 | Jul 27, 2015 05:16 AM | |
758 | Jul 27, 2015 05:13 AM | |
726 | Jul 27, 2015 04:56 AM | |
739 | Jul 27, 2015 04:30 AM | |
759 | Jun 16, 2015 10:51 AM | |
933 | Jun 10, 2015 06:01 AM | |
2900 | Jun 05, 2015 03:57 AM | |
2363 | Jun 04, 2015 05:07 AM | |
1055 | Jun 04, 2015 02:41 AM |
Activity Feed
- Posted Re: How to know when silent install finished on InstallShield Forum. Jul 27, 2015 05:25 AM
- Posted Re: Enable windows feature during installation of the product. on InstallShield Forum. Jul 27, 2015 05:16 AM
- Posted Re: Environment variable problem in install script project on InstallShield Forum. Jul 27, 2015 05:13 AM
- Posted Re: How to identify the directory location of setup.exe at runtime on InstallShield Forum. Jul 27, 2015 04:56 AM
- Posted Re: Problem with Log folder structure on InstallShield Forum. Jul 27, 2015 04:30 AM
- Posted Re: Wrap all the prerequsites into a single exe. on InstallShield Forum. Jun 16, 2015 10:51 AM
- Posted Re: Can anyone tell me why this installer is "Rolling Back" right after doing the IIS? on InstallShield Forum. Jun 10, 2015 06:01 AM
- Posted Re: ISSetupPrerequisites folder not found in setup on InstallShield Forum. Jun 05, 2015 03:57 AM
- Posted Re: Folder Permissions Not Being Set by MSI on Target Machine on InstallShield Forum. Jun 04, 2015 05:07 AM
- Posted Re: Need better way to communicate or automate installer details on InstallShield Forum. Jun 04, 2015 02:41 AM
- Posted Re: ISSetupPrerequisites folder not found in setup on InstallShield Forum. Jun 03, 2015 12:44 AM
- Posted Re: ISSetupPrerequisites folder not found in setup on InstallShield Forum. Jun 02, 2015 11:40 PM
- Posted Re: Installscript: Getting results back from dism.exe on InstallShield Forum. Jun 02, 2015 11:38 PM
- Posted Re: Component Upgrade Question on InstallShield Forum. May 28, 2015 01:28 AM
- Posted Re: Prevent Major Upgrade from Removing Folders on InstallShield Forum. May 22, 2015 01:46 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 08:12 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 07:53 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 07:48 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 07:26 AM
- Posted Re: Text file changes for registry files that include path statements on InstallShield Forum. May 19, 2015 01:29 AM