Aug 04, 2010
06:52 PM
ProjectType: InstallScript MSI With our installation we create two services (SA and SB). Toward the end of the installation we want to use CAs to start up the services, wait for them to come up completely, then launch another process (PA) that depends on SA being up and running. If the SA service does not start up for some reason we don't want to launch PA. Instead we want to show a warning message. The wrinkle comes when SA launches eight child processes (P1-P8). These have a tendancy to bounce up and down if everything isn't "just right" and it is really P1-P8 that we depend upon, not SA itself. The best I've come up with so far is to run an InstallScript function to check the state of the Windows service and pause for a period of time while the service launches P1-P8. This method does not work if P1-P8 are bouncing as Windows thinks the service is up and running but the processes we depend on are not. Does anyone have any ideas on how to approach this scenario? We are not above writing DLL helper functions as we've done this several times already. Any thoughts on this would be greatly appreciated.
... View more
Labels
- Labels:
-
InstallShield 2009
Jul 29, 2010
02:16 PM
I was looking for a resolution to this for nearly two hours this morning. This error message was worthless so many thanks to whomever figured this one out!
... View more
Apr 22, 2010
05:05 PM
Thanks for the response. I've been looking at the documentation on the rest of the code necessary to change the Product Code but all of the documentation made reference to "run GenerateGUID" but I had not seen anything that detailed how the function worked.
... View more
Apr 22, 2010
12:51 PM
I've found several postings about how to generate a new Product Code from the automation interface. However, being extremely limited in my VB Script skills I haven't been able to figure out how to use this GenerateGUID method I've seen postings and documentation about. Here's about all I've come up with so far. As you can see I have a placeholder for where the GenerateGUID should be called but where does the resulting GUID actually go? Can someone fill in the blanks I've left in the code below? Set oProject = CreateObject("ISWiAuto15.ISWiProject") oProject.OpenProject = "C:\Path\To\Project.ism" oProject.GenerateGUID() oProject.ProductCode = oProject.SaveProject oProject.CloseProject Set oProject = Nothing Also, once I've gotten the script written do I just run the script as if it were any other executable and Windows will pick up on the .vbs extension and launch it appropriately?
... View more
Labels
- Labels:
-
InstallShield 2009
Apr 13, 2010
06:58 PM
Not sure what you need help with. You have the basics already laid out in your original post: 1. Author an InstallScript function to create your file. 2. Create a deferred InstallScript CA to run during the execute sequence.
... View more
Apr 07, 2010
01:44 PM
When is ANSAInstaller scheduled to be run? Can you provide a screenshot of the properties for that CA, as well?
... View more
Apr 07, 2010
01:11 PM
To test a theory of whether this was a project issue or a global issue I create a brand new InstallScript MSI project. I assigned basic properties INSTALLDIR and a couple other settings. I have finally tracked down the setting that is causing my directories to become nested. If the "InstallScript User Interface Type" is set to "New Style" the directories become nested. Changing it to "Traditional Style" fixes the nesting problem and the directories become siblings, as expected. Anyone familiar with the internals of these two have any further information about why this setting would cause siblings directories to become nested?
... View more
Apr 06, 2010
03:56 PM
What type of project is this? Also, check the Immediate Execution vs. Deferred Execution. Also, do you have them sequenced to run in the correct order?
... View more
Apr 05, 2010
11:48 AM
I have been testing the installation on a clean machine, not for an upgrade. INSTALLDIR does not exist at the beginning of the installation process and the installer must create it. The Destination Path I have set for the components is [INSTALLDIR]Tools (see attached image).
... View more
Apr 02, 2010
05:51 PM
Does no one know why files destined for directories beneath INSTALLDIR would nest inside each other instead of next to each other?
... View more
Apr 01, 2010
06:35 PM
Also, all the shortcut references are following the files so the shortcuts to the Tools files actually work but the files are in the wrong directory.
... View more
Apr 01, 2010
06:32 PM
When I look at the compiled MSI's "Files and Folders" view, everything looks in order, as well. I've added some more components to the project and now there's also [INSTALLDIR]Help. The resulting install looks like: [INSTALLDIR]Bin\Help\Tools Each successive directory is being nested inside the previous one instead of beside it. Very baffling behavior!
... View more
Mar 31, 2010
06:42 PM
We've got files that need to go into [INSTALLDIR]Bin and [INSTALLDIR]Tools. However, the files destined for Tools are actually ending up in [INSTALLDIR]Bin\Tools. All of our other files are ending up in the correct location, just not the ones that belong in [INSTALLDIR]Tools. How can this happen?
... View more
Labels
- Labels:
-
InstallShield 2009
Mar 30, 2010
06:38 PM
After much trial and error I have finally figured out the root cause of my problem. I was using the SUPPORTDIR pre-defined constant supplied by InstallScript. This apparently changes between the UI and Execute sequences. I've changed our code to pass SUPPORTDIR through CustomActionData. Using the value passed through CAD it looks to be working now.
... View more
Mar 29, 2010
01:46 PM
So if there's a ISSetupFilesCleanup in both the UI and Execute sequences do the files disappear during the UI sequence? I've got 5 or 6 support files and by the time I get to my custom actions sequenced immediately after InstallFiles they're all missing. How do I retain these files into the Execute sequence?
... View more
- « Previous
- Next »
Latest posts by kaneohe
Subject | Views | Posted |
---|---|---|
1171 | Jul 11, 2013 02:52 PM | |
1171 | Jul 09, 2013 04:19 PM | |
498 | Jul 09, 2013 03:16 PM | |
3962 | Jul 09, 2013 01:20 PM | |
980 | Jul 09, 2013 10:10 AM | |
572 | Mar 11, 2013 01:53 PM | |
1139 | Mar 11, 2013 01:19 PM | |
495 | Oct 31, 2012 06:06 PM | |
1517 | Oct 30, 2012 06:43 PM | |
1257 | Oct 12, 2012 05:11 PM |
Activity Feed
- Posted Re: 1 File Missing After Major Upgrade on InstallShield Forum. Jul 11, 2013 02:52 PM
- Posted Re: 1 File Missing After Major Upgrade on InstallShield Forum. Jul 09, 2013 04:19 PM
- Posted Re: prerequisite of Microsoft Visual C++ 2010 Redistributable on InstallShield Forum. Jul 09, 2013 03:16 PM
- Posted 1 File Missing After Major Upgrade on InstallShield Forum. Jul 09, 2013 01:20 PM
- Posted Re: Urgent Help plsss for find setup.exe directory on InstallShield Forum. Jul 09, 2013 10:10 AM
- Posted Solved! on InstallShield Forum. Mar 11, 2013 01:53 PM
- Posted Set Version in Registry in InstallScript Project via IDE on InstallShield Forum. Mar 11, 2013 01:19 PM
- Posted Mystery Solved ... More Or Less on InstallShield Forum. Oct 31, 2012 06:06 PM
- Posted Help Me Understand FeatureCompareSizeRequired Behavior on InstallShield Forum. Oct 30, 2012 06:43 PM
- Posted Hiding Features on InstallShield Forum. Oct 12, 2012 05:11 PM
- Posted Multiple Targets on InstallShield Forum. Aug 08, 2012 05:47 PM
- Posted Re: Help With Dynamic File Linking on InstallShield Forum. Jul 24, 2012 04:46 PM
- Posted Help With Dynamic File Linking on InstallShield Forum. Jul 19, 2012 02:18 PM
- Posted Re: *URGENT* DotNetCoCreateObject not working with .Net Framework 4.0 on InstallShield Forum. Jun 06, 2011 06:16 PM
- Posted Re: Enabling .Net 3.5 on Windows Server 2008 R2 on InstallShield Forum. Jun 06, 2011 06:05 PM
- Posted Re: Unable to pin InstallShield 2011 to Windows 7 taskbar on InstallShield Forum. May 12, 2011 11:18 AM
- Posted Re: directory structure wrong after install on InstallShield Forum. Sep 20, 2010 01:46 PM
- Posted directory structure wrong after install on InstallShield Forum. Sep 17, 2010 02:09 PM
- Posted Re: Merge Module, Visual C++ 9.0 CRT (x86) on InstallShield Forum. Sep 02, 2010 05:17 PM
- Posted Re: How to detect whether a system requires a reboot or not?? on InstallShield Forum. Sep 01, 2010 12:35 PM