Mar 07, 2018
03:42 PM
Thank you for your reply, Dale. Yes, SetCAData is an immediate custom action. And you're right -- I was referencing INSTALLDIR instead of CustomActionData...dumb mistake. Thanks again!
... View more
Mar 02, 2018
09:56 AM
I have a basic MSI that installs and starts a service, which generates files and folders in the install directory. I have a deferred custom action with synchronous return processing (checking exit code) that checks for the existence of one of these files. If this file doesn't exit, the custom action will return an error, and the installation will roll back. The files and folders that got generated by the service also need to be deleted during rollback, so I followed the steps here to do that: http://helpnet.installshield.com/installshield21helplib/helplibrary/AccessingProps-DeferredCAs.htm. I?m trying to get the value of INSTALLDIR in the below MSI DLL custom action, but it doesn't seem to be working because when I do an MsiGetProperty of INSTALLDIR and display a message box with this value, it's empty. Here's what I did: INSTALLDIR is listed in SecureCustomProperties Set Property Action Custom Action Name: SetCAData Property: RemoveGeneratedFiles Property Value: [INSTALLDIR] Return Processing: Synchronous (Check exit code) Execution Scheduling: Always Execute Install Execute Sequence: After InstallInitialize MSI DLL Custom Action Custom Action Name: RemoveGeneratedFiles Function Name: RemoveGeneratedFiles Return Processing: Synchronous (Check exit code) In-Script Execution: Rollback Execution in System Context Install Execute Sequence: After SetCAData Here are some snippets from the install log: Rollback: RemoveGeneratedFiles MSI (s) (F0:54) [07:12:01:514]: Executing op: ActionStart(Name=RemoveGeneratedFiles,,) MSI (s) (F0:54) [07:12:01:514]: Executing op: CustomActionRollback(Action=RemoveGeneratedFiles,ActionType=3329,Source=BinaryData,Target=RemoveGeneratedFiles,CustomActionData=C:\Program Files\Your Compay Name\rollback\) ... Property(S): INSTALLDIR = C:\Program Files\Your Compay Name\rollback\ Does anyone have any advice on how to remove these generated files during rollback? Thanks in advance.
... View more
Labels
- Labels:
-
InstallShield 2015
Jul 23, 2014
03:51 PM
Does anyone know if InstallShield 2013 or 2014 include support for creating a 64-bit setup.exe? Thanks.
... View more
Apr 05, 2014
10:55 PM
I encountered this error again, and the way I fixed it was in the ism file, I changed the "Sign Output Files" setting from "Setup.exe and Windows Installer Package" to "None". After I build the installer, I have a script that signs *.mst, *.cab, and the .msi file.
... View more
Feb 04, 2013
01:32 PM
Hi tieriel, Did you ever figure out the solution to this? I have to do the same thing. Thanks, loralynne
... View more
Dec 23, 2011
03:03 PM
See if this works: 1. Create a Set Directory custom action with the following settings: Directory Name: INSTALLDIR64 Directory Value: [ProgramFiles64Folder]\MyCompany\MyProduct Execution Scheduling: Execute only once Install Exec Sequence: After CostFinalize Install Exec Condition: Not Installed And VersionNT64 2. Set the Destination for Feature A to [INSTALLDIR64] so that it gets installed to C:\Program Files\ 3. Set the Destination for Feature B to [INSTALLDIR] so that it gets installed to C:\Program Files (x86)\
... View more
Oct 12, 2010
03:43 PM
Tech support was finally able to consistently reproduce the bug. Here's part of the response from them I received this morning: In conclusion, the problem seems to exist on all Windows Operating systems, with projects built with IS 2010 or IS 2011, and the problem is feature prerequisites do not get installed during a silent install of a multi-lingual install package when working directory is not the setup directory. I have reported this problem as issue number IOA-000058597. There is no time estimate when a fix will be available. For an immediate work around, I recommend the silent install of the main install be launched with an MSI command line argument that passes in a language transform, such as: "C:\InstallShield 2011 Projects\SilentPRQ\Config\Base\DiskImages\DISK1\setup" /s /v"/qb TRANSFORMS=\"C:\InstallShield 2011 Projects\SilentPRQ\Config\Base\DiskImages\DISK\1033.mst"
... View more
Oct 01, 2010
01:23 PM
Sure, I'll do that. I opened incident # SIOC-000099873 a couple days ago, and all I've received from them so far is confirmation that someone in tech support has been assigned this issue.
... View more
Sep 29, 2010
04:08 PM
Yeah, they're in the ISSetupPrerequisites folder. Copying it to the working directory didn't fix the problem. I'm going to open a new incident for this. Thanks again.
... View more
Sep 29, 2010
12:59 AM
No, that's not the subject of my thread. But thanks anyway for trying to help. Actually, the /debuglog flag is probably more useful. In the log file, it says: 9-28-2010[12:38:22 PM]: Error applying transform '1033.MST' for Costing: 110 9-28-2010[12:38:22 PM]: Installing silent prerequisites for features: 9-28-2010[12:38:22 PM]: Install does not use script 9-28-2010[12:38:22 PM]: Install does not use script These don't appear in the log file when I run the install from the setup.exe directory.
... View more
Sep 29, 2010
12:24 AM
No, it works fine if I run the silent install from the directory that Setup.exe is in. If Setup.exe is located in C:\Users\Administrator\Desktop\Disk1, then the following works: C:\>cd C:\Users\Administrator\Desktop\Disk1 C:\Users\Administrator\Desktop\Disk1>Setup.exe /s /v/qn However, the following does NOT work: C:\>C:\Users\Administrator\Desktop\Disk1\Setup.exe /s /v/qn
... View more
Sep 28, 2010
04:33 PM
I have a basic MSI that has feature prerequisites. I discovered that if I run a silent installation from a working directory other than where Setup.exe is located, none of the prerequisites get installed. For example, if Setup.exe is located in C:\Users\Administrator\Desktop\Disk1 and I run the following command from C:\, the prerequisites do not get installed: C:\Users\Administrator\Desktop\Disk1\Setup.exe /s /v/qn If I first cd to C:\Users\Administrator\Desktop\Disk1 and then run the above command (or run it without specifying the full path to Setup.exe), the prerequisites do get installed. This does not happen with setup prerequisites, only feature prerequisites. Is this a known issue, and is this fixed in IS 2011?
... View more
Labels
- Labels:
-
InstallShield 2010
Sep 13, 2010
02:09 PM
I discovered that this happens not only on Win Server 2008 R2, but also on Win Server 2008 and probably other OSes.
... View more
Sep 10, 2010
04:15 PM
Thanks for your response, Michael. I actually narrowed down further the scenario in which this happens. In addition to happening only on Windows Server 2008 R2, it only happens if you turn on the option in the prerequisite that says that the prerequisite may be optionally skipped by the user. As you probably already know, this option causes a dialog to be displayed to the end-user asking if they would like to install the prerequisite. Clicking Yes in this dialog launches the installer for the prerequisite in the background. When this option is disabled, the installer for the prerequisite is launched in the foreground as expected.
... View more
Sep 09, 2010
06:32 PM
I have Basic MSI project that has feature prerequisites. One of the prerequisites runs in full UI mode. The problem I'm having is that when I run my setup on Windows Server 2008 R2, the installer dialog for this prerequisite does not appear on top of my main installer. I have to click on the prerequisite's icon in the taskbar or move the main installer's dialog out of the way. This happens only on Windows Server 2008 R2, and it's not 100% reproducible. Is this a known issue, and is there a way to fix it/work around it? Thanks.
... View more
Labels
- Labels:
-
InstallShield 2010
Latest posts by loralynne
Subject | Views | Posted |
---|---|---|
1066 | Mar 07, 2018 03:42 PM | |
1458 | Mar 02, 2018 09:56 AM | |
851 | Jul 23, 2014 03:51 PM | |
1121 | Apr 05, 2014 10:55 PM | |
1046 | Feb 04, 2013 01:32 PM | |
1326 | Dec 23, 2011 03:03 PM | |
2846 | Oct 12, 2010 03:43 PM | |
2846 | Oct 01, 2010 01:23 PM | |
2846 | Sep 29, 2010 04:08 PM | |
2846 | Sep 29, 2010 12:59 AM |
Activity Feed
- Posted Re: Delete generated files during rollback on InstallShield Forum. Mar 07, 2018 03:42 PM
- Posted Delete generated files during rollback on InstallShield Forum. Mar 02, 2018 09:56 AM
- Tagged Delete generated files during rollback on InstallShield Forum. Mar 02, 2018 09:56 AM
- Tagged Delete generated files during rollback on InstallShield Forum. Mar 02, 2018 09:56 AM
- Posted Re: 64-bit setup.exe on InstallShield Forum. Jul 23, 2014 03:51 PM
- Posted Re: Patching existing applications using a newer digital signature on InstallShield Forum. Apr 05, 2014 10:55 PM
- Posted Re: IIS: Installing a web site if port is already taken on InstallShield Forum. Feb 04, 2013 01:32 PM
- Posted Re: 64 bit vs 32 bit Installation Support? on InstallShield Forum. Dec 23, 2011 03:03 PM
- Posted Re: Silent Install with Feature Prerequisites on InstallShield Forum. Oct 12, 2010 03:43 PM
- Posted Re: Silent Install with Feature Prerequisites on InstallShield Forum. Oct 01, 2010 01:23 PM
- Posted Re: Silent Install with Feature Prerequisites on InstallShield Forum. Sep 29, 2010 04:08 PM
- Posted Re: Silent Install with Feature Prerequisites on InstallShield Forum. Sep 29, 2010 12:59 AM
- Posted Re: Silent Install with Feature Prerequisites on InstallShield Forum. Sep 29, 2010 12:24 AM
- Posted Silent Install with Feature Prerequisites on InstallShield Forum. Sep 28, 2010 04:33 PM
- Posted Re: Installer for prerequisite doesn't appear in foreground on InstallShield Forum. Sep 13, 2010 02:09 PM
- Posted Re: Installer for prerequisite doesn't appear in foreground on InstallShield Forum. Sep 10, 2010 04:15 PM
- Posted Installer for prerequisite doesn't appear in foreground on InstallShield Forum. Sep 09, 2010 06:32 PM
- Posted Re: 64 bit vs 32 bit Installation Support? on InstallShield Forum. Sep 07, 2010 02:59 PM
- Posted Re: 64 bit vs 32 bit Installation Support? on InstallShield Forum. Sep 07, 2010 01:36 PM
- Posted Re: Deleting sections and keywords from an .ini file on InstallShield Forum. Sep 02, 2010 04:41 PM