Dec 13, 2013
08:57 AM
I'm getting the same thing. Can someone from Flexera comment on this?
... View more
Apr 30, 2013
09:07 AM
a) How to get this log name? I tried the MsiLogFileLocation property but it was empty. I've never had a problem with SprintfMsiLog, but then again, i haven't used the InstallScript MSI project type before either. Also, why do you need the log file name? The SprintfMsiLog function takes care of that for you.
... View more
Apr 23, 2013
02:11 PM
Also, there is a "MajorVersion" and a "MinorVersion" value under that same key. You could just have two system searches assign those values to the properties [IIS_VERSION_MAJOR] and [IIS_VERSION_MINOR]. Then create a a "Set a property" CA to set your internal [IIS_VERSION_STR] property to "[IIS_VERSION_MAJOR].[IIS_VERSION_MINOR]"
... View more
Apr 23, 2013
01:51 PM
1) I don't know. 2) I haven't seen it built into the product specifically, but you can certainly create a Custom Action that calls "net use..." 3) Yes you can install anywhere you'd like. The user can be presented with a dialog to set the destination folder or can set public directory identifier values on the command line. You could initialize INSTALLDIR to D:\ but it's best to initialize it to a subfolder of a predefined directory. 4) MSIs can't be merged, per se. You can make use of chained MSIs or prerequisites to link several dependent MSIs together. Alternatively, you can implement all of your logic in merge modules (.msm), and then create simple installations (.msi) which consume the merge modules. It all depends on what you really need.
... View more
Mar 04, 2013
03:48 PM
In my case, (1)I don't really like using VS as an IS editor, (2)Developers don't have licenses for IS, and (3)I don't want to maintain dependency relationships among projects in more than one location; therefore (1) I don't add the .isproj to the solution, (2) i create a .vcxproj for each .ism instead (this is a lazy way to create a custom msbuild script. Just create a new "makefile" project in VS), (3) I add the .vcxproj to my main solution file, and set up project dependencies to enforce the build order. I then duplicate the "Release" configuration in the solution and name it "Release-Package." The difference between these configurations is that Release doesn't build deployments. This way i don't have to maintain the dependency relationships in multiple locations, I just use one solution for the build. Users without IS on their machines can still open the solution, and they'll only get errors if they try to build the "Release-Package" configuration. Also, with .isproj files included, the solution takes longer to open. I tend to just use one configuration and build in the .ism file, and i make everything else about the build generic enough that the build command line doesn't vary by anything but the project name. therefore all of my .vcxproj's have this as a build command line: "$(IS_CMD_BLD)" -v -p "$(ProjectDir).\$(ProjectName).ism" -r "Release" -c COMP -a "Configuration" -o "$(OutDir)MergeModules" -prqpath " \SetupPrerequisites, \..\Prerequisites" I don't know if that'll work for you, but it works for me. Also, I don't remember if I had to create the IS_CMD_BLD environment variable or if it gets created when you install IsCmdBld.
... View more
Mar 04, 2013
03:29 PM
I eventually figured this one out. After banging my head against the keyboard for a day or so, the key to the solution finally popped out at me from the documentation. ServiceInstall entries are not so much associated with a component, but rather with that component's key file. If you create the component yourself instead of using the wizard, you have to remember to mark a file in that component as the key file, or the InstallServices action won't have anything to key off of. Hopefully, the solution makes a bigger impression in my head than did the keyboard so I don't forget to set a key file for every component from now on.
... View more
Feb 28, 2013
11:49 AM
Wow... I've never seen a topic on here hot enough that replies roll in while I'm typing. Glad you got it to work. If the settings for your application require COM registration or something then that could certainly have caused the problem, especially if you were testing the simple executable on your local machine, and testing the installation on a QA machine. Good luck. I hope you get to the bottom of it, and if you do, please update teh thread with your findings.
... View more
Feb 28, 2013
11:43 AM
Is the action scheduled to run sometime after InstallFiles?
... View more
Feb 27, 2013
11:07 AM
The "other way" to do it would be to duplicate the entire site configuration under two different components, and then condition those components based on VersionNT64. I don't want to duplicate anything for maintenance reasons. That said, the team has decided to take advice from a talk from Richard Campbell entitled "Ten Web Performance Tuning Tricks in 60 Minutes" wherein he recommends using all 32-bit web apps running on a 64bit OS, so that terminated my investigation into this now non-issue. You know in New England we say "If you don't like the weather, wait five minutes." Sometimes at work I feel like if I run into a technical obstacle, I should just wait for the requirements to change. 😛 That said, if anyone has another solution, please suggest away. Someone down the line might want to ignore Campbell's advice and do this themselves, so the conversation is still valid.
... View more
Feb 27, 2013
09:14 AM
Are you testing this install on windows Vista or after with UAC turned on? If you are testing on XP, or if UAC is off, and you are a user with administrative privs, then everything will run elevated. I assumed that this is not the case, but I'm trying to consider everything.
... View more
Feb 27, 2013
08:51 AM
Some of this might be of interest to you if you want to avoid transforms (finite number of instances) and just let the installation run like new every time you launch it. Keep in mind that this solution would require you to come up with your own way to uninstall: Adding and Removing an Application and Leaving No Trace in the Registry What makes a windows service unique is the service name. This is quite literally a namespace issue. If you want your install to be super dynamic, you could write a custom action that modifies the msi at runtime. You would want to maybe create a loop to query the SCM for ServiceName , and when you find a value for n that is not already in use, change the name of the service in the ServiceInstall table to that name, and then continue as normal. That said, on each of these installations, are you installing a new set of files, or is this just to create multiple instances of a service from the exact same set of files? If it is the latter, then I think you're going about it all wrong. Adding instances of the service is something that could more easily be integrated in a GUI provided by your product rather than the installation itself. So I would say, install the product with the initial copy of the service. Write a quick little gui or command line app that creates new copies of the service. I've seen this done inside the service executable itself, calling it with a "--install" argument tells it to find a unique name for itself, and create a new service instance. If this is a .NET service, maybe look into TopShelf. That's what the devs use here. The trick then is to make deleting one service delete all the other ones. I'll leave that up to you. I hope I have given you enough information to solve the problem a couple different ways. Good luck!
... View more
Feb 27, 2013
08:32 AM
1. Make sure that the service executable is in the component with which the service configuration is associated. 2. (This is the one that caused me to have a forehead/keyboard situation for a day and a half) Make sure that the service executable is the key file for that component. 3. check the logs during uninstall. Is the component being uninstalled? 4. Obviously the file is being removed, so we can skip number 4. 5. If all else fails, paste the sections of the log related to InstallValidate, StopServices, and RemoveServices
... View more
Feb 26, 2013
08:49 AM
Try it in immediate mode directly after InstallFinalize.
... View more
Feb 25, 2013
03:51 PM
I added a service and configured its parameters using the Services node under the component that contains the service executable. At runtime, the InstallServices action only runs during the Immediate Sequence, so it seems to think that there are no services to install. InstallValidate shows that the associated Component is being installed. But again, the InstallServices action never appears in deferred execution.
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
Feb 25, 2013
08:42 AM
I guess i was only addressing the "installation overhead" which i took to mean the size of the package. as i don't typically need to modify components once they are created, i don't see much of a maintenance hazard in having the duplicate components, and assumed that a compression algorithm would not store two identical files twice. Mr. Painter, as always, has a terrific idea. I think i need to play around with the DuplicateFile, MoveFile tables.
... View more
Latest posts by Kelter
Subject | Views | Posted |
---|---|---|
910 | Dec 13, 2013 08:57 AM | |
2289 | Apr 30, 2013 09:07 AM | |
916 | Apr 23, 2013 02:11 PM | |
651 | Apr 23, 2013 01:51 PM | |
2365 | Mar 04, 2013 03:48 PM | |
769 | Mar 04, 2013 03:29 PM | |
3442 | Feb 28, 2013 11:49 AM | |
3442 | Feb 28, 2013 11:43 AM | |
892 | Feb 27, 2013 11:07 AM | |
2758 | Feb 27, 2013 09:14 AM |
Activity Feed
- Posted Re: Annoying popup on InstallShield Forum. Dec 13, 2013 08:57 AM
- Posted Re: Major upgrade fails to remove the previous version due to writing to MSI log on InstallShield Forum. Apr 30, 2013 09:07 AM
- Posted Re: Getting IIS Version of Machine on InstallShield Forum. Apr 23, 2013 02:11 PM
- Posted Re: 4 questions on MSI editing on InstallShield Forum. Apr 23, 2013 01:51 PM
- Posted Re: Opening InstallShield Projects in Microsoft Visual Studio on InstallShield Forum. Mar 04, 2013 03:48 PM
- Posted Re: InstallServices is ignoring a ServiceInstall table entry. on InstallShield Forum. Mar 04, 2013 03:29 PM
- Posted Re: error 1722 from simplest of .exe custom actions on InstallShield Forum. Feb 28, 2013 11:49 AM
- Posted Re: error 1722 from simplest of .exe custom actions on InstallShield Forum. Feb 28, 2013 11:43 AM
- Posted Re: IIS: Install on both 64bit and 32bit systems on InstallShield Forum. Feb 27, 2013 11:07 AM
- Posted Re: Launch application after install as Non administrator on InstallShield Forum. Feb 27, 2013 09:14 AM
- Posted Re: Install the same service multiple times under different names on InstallShield Forum. Feb 27, 2013 08:51 AM
- Posted Re: service delete not working when enable service install is set to no on InstallShield Forum. Feb 27, 2013 08:32 AM
- Posted Re: Launch application after install as Non administrator on InstallShield Forum. Feb 26, 2013 08:49 AM
- Posted InstallServices is ignoring a ServiceInstall table entry. on InstallShield Forum. Feb 25, 2013 03:51 PM
- Posted Re: Can I Handle This Feature/Component Situation Better? on InstallShield Forum. Feb 25, 2013 08:42 AM
- Posted Re: Launch application after install as Non administrator on InstallShield Forum. Feb 22, 2013 10:55 PM
- Posted Re: Can I Handle This Feature/Component Situation Better? on InstallShield Forum. Feb 22, 2013 10:39 PM
- Posted IIS: Install on both 64bit and 32bit systems on InstallShield Forum. Feb 22, 2013 03:02 PM
- Posted Re: combo box hidden on back event on InstallShield Forum. Feb 22, 2013 02:49 PM
- Posted Re: Activating Windows features (IIS) from InstallScript Project on InstallShield Forum. Feb 22, 2013 02:40 PM