Mar 17, 2011
08:55 AM
Hi showard, TeamBuild's SourcesDirectory variable, in the Run On Agent scope, should have the path you need; whether or not you need to append additional pathing to that will depend on how you have defined the Build Agent Folder workspace mapping. --jdavidi
... View more
Feb 22, 2011
09:08 AM
After some more research, I believe I've found the cause and a solution. Perhaps of important note is that my installer was 32-bit (Intel in Template Summary). This WIN64DUALFOLDERS substitution thing seems to kick in any time [ProgramFilesFolder] is referenced in a 32 bit installer, which mine was as the default install location, as well as in the expected value of the Path in my registry System Search for the SQL Server Tools. However, the fact that I need to read SOME 64-bit specific area of the machine (the registrry in this case), I need to make a 64-bit specific installer (by replacing Intel with x64 in my template summary). After doing so, the installer retrieved the appropriate (64-bit) registry entry. Because none of my components are marked as 64-bit (by design), the default installation location, which I've set to [ProgramFilesFolder], correctly defaults to C:\Program Files (x86)\MyCompany\MyApp . I have other 32-bit installers that work fine on 64-bit machines, but as I'm not doing anything specific with the 64-bit registry or ProgramFiles64Folder in those, I never hit the issue with a registry lookup until now. So I'll just need a 32-bit and 64-bit version of this particular project (and any others where I might need to interrogate the ProgramFiles64Folder or 64-bit registry). --jdavidi
... View more
Feb 04, 2011
12:01 PM
Greetings! My goal is to have a LaunchConditon that halts progress if some version of sqlcmd.exe cannot be found in an expected location. I'll keep my example limited to SQL 2008 for simplicity. I have a registry search to define a SQL2008TOOLSLOCATION property, and then I look for sqlcmd.exe inside this path (see screenshots for the 2 system searches). The LaunchCondition is ensuring that SQL2008SQLCMDEXE exists. On 32-bit machines, SQL2008TOOLSLOCATION is getting set to the expected C:\Program Files\Microsoft SQL Server\100\Tools\Binn , and as sqlcmd.exe exists here, the LaunchCondition passes. On 64-bit machines however, both C:\Program Files\Microsoft SQL Server\100\Tools\Binn and C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn exist, but sqlcmd.exe is only installed to C:\Program Files\Microsoft SQL Server\100\Tools\Binn. Checking the msi log, I see this in the AppSearch section: MSI (c) (64:D8) [12:14:34:441]: WIN64DUALFOLDERS: 'C:\Program Files (x86)\' will substitute 17 characters in 'C:\Program Files\Microsoft SQL Server\100\Tools\Binn\' folder path. (mask argument = 0, the folder pair's iSwapAttrib member = 0). AppSearch: Property: SQL2008TOOLSLOCATION, Signature: NewSignature1 MSI (c) (64:D8) [12:14:34:550]: PROPERTY CHANGE: Adding SQL2008TOOLSLOCATION property. Its value is 'C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\'. So the 64-bit portion of the registry has the path that I'm after, but even though I've specified the registry search to look in the 64-bit registry, something keeps steering it toward the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Microsoft SQL Server\100\Tools\ClientSetup Path value, and thus setting it to Program Files (x86) location which is no good for me. Might anyone know why the search is behaving this way, or a way to ensure the Wow6432Node is not searched in this case? Thanks much! --jdavidi
... View more
Labels
- Labels:
-
InstallShield 2011
Dec 02, 2010
08:28 AM
Found what I was looking for, after reviewing some of my training notes (thanks Dan Galender!) -- if you set a Feature's destination property to the "blank" value (the first item in the dropdown), the Change... button will automatically be disabled on the Custom Setup dialog. --jdavidi
... View more
Nov 22, 2010
08:49 AM
Greetings! Using a Basic MSI project. All of my features have Destination properties set to subdirectories of INSTALLDIR. I've added the DestinationFolder dialog to the front of our install, intending for users to change install dir to the "master installation directory" of their choosing. However, I want to ensure that all features get installed to the predefined relative subdirectories that I've set on their feature locations; effectively, if the user chooses a Custom install, each of the feature destinations can be overridden. Is there a setting that I'm missing that could enforce this rule, or do I need to modify CustomSetup to permanently hide the Change... button (similar to the default behavior of when this dialog shows in Maintenance mode)? Thanks for any info! --jdavidi
... View more
Labels
- Labels:
-
InstallShield 2011
Nov 22, 2010
08:42 AM
Hello Jürgen, If you're using the predefined Microsoft SQL Server 2008 R2 Express RTM (x86) prerequisite that ships with InstallShield, .NET Framework 3.5 SP1 is listed among other dependencies for particular versions of the Windows installer (on the Dependency tab when you open the 2008 R2 prq file in the prerequisite editor). I believe it is evaluating the conditions of that prerequisite first, hence the prompt. You can modify the stock 2008 R2 pre-fab prq file to remove this dependency, save a copy of it, and add that prq to your project instead. --jdavidi
... View more
Nov 03, 2010
01:11 PM
After weeks of headbanging and trying to determine why IsCmdBld.exe would work but an msbuild InstallShield task wouldn't, a bunch of diffing revealed that I had a path typo in my ScriptFiles path variable ItemGroup (that pointed at my rul files). Apparently Compile.exe gets skipped if no rul files are found at the expected locations (as opposed to erroring out). Just wanted to post should anyone happen to run into it. --jdavidi
... View more
Oct 19, 2010
03:56 PM
Greetings, I am piecing together an msbuild file to build my installer (for eventual use by TFS & TeamBuild), and for the most part everything is working, with the exception of the InstallScript compile. I receive one error during the build: ISDEV : error -7132: An error occurred streaming ISSetup.dll support file N:\TFS\Infrastructure\Installations\InstallerProjects\CostGuard\Script Files\Setup.inx When I build via IsCmdBld.exe, everything is fine, and I can see in the build output that one of the first steps the build does is compile setup.inx, and then moves on to build the MSI tables. When I build from msbuild, even at the diagnostic logging level, I see no evidence of the setup.rul (or other .rul file) compiles--immediately the MSI tables start building. I'm uncertain as to if the Build="Compile" parameter of the InstallShield task is meant to compile the rul files, but when run it completes quickly with 0 errors & 0 warnings, yet there is no setup.inx. I tried compiling setup.inx via the GUI and putting it in the scripts folder,but as soon as the InstallShield task begins, it gets deleted, presumably due to the Clean target. So my questions: Should the msbuild InstallShield task compile setup.inx, and assuming so, what is the trick to doing so? Thanks much! --jdavidi
... View more
Labels
- Labels:
-
InstallShield 2011
Oct 06, 2010
01:32 PM
It's a kludge, but I could remove the control event for the one service and put an executable CA after StartServices that calls net start and ignores the exit code -- but I'm certainly open to cleaner options 🙂
... View more
Oct 06, 2010
11:39 AM
Greetings! I'm installing a set of services, some of which MAY require additional configuration within our installed application before they will start properly. I have ServiceControl entries set for all of my services, but when it goes to start one of the ones requiring this post-install configuration, the installation halts with a 1920 error, indicating that the service failed to start, presenting only a Retry or Cancel option. Assuming there is no way to add an "Ignore" button to this popup, can anyone think of alternatives to acheiving the desired behavior? I was thinking some sort of component Condition, but couldn't come up with a catch all (e.g. I was thinking !FeatureRequiringService=3 , but I'm thinking that could get the installation into a bad state where it would fail repeatedly on a Repair or Modify if the configuration work hadn't yet been completed. Any info appreciated! Thanks much, --jdavidi
... View more
Labels
- Labels:
-
InstallShield 2011
Sep 28, 2010
03:23 PM
Greetings! My installation needs to add a few virtual directories, and rather than gather requirements about the website at runtime, I just wanted to install them to a pre-existing site (most of the time which is Default Web Site). I have implemented a VBScript custom action that a few other postings linked to, and can successfully capture in a dropdown the user selection. However, I just want to add the virtual directory to this site--I don't necessarily want to modify any of the site's pre-existing configurations (such as read/write access, authentication, session timeouts, etc). Is there any way to do to instruct InstallShield to effectively ignore any of the web site's properties? I wouldn't want to overwrite something an admin has set for their environment by leaving the default options. Thanks much! --jdavidi
... View more
Labels
- Labels:
-
InstallShield 2011
Sep 22, 2010
07:55 AM
Thanks for that nifty trick, Robert; the service name indeed shows with [1]. I'd already had their names dispalying for starting and stopping but during InstallServices it just showed Services: for about 10 seconds and wanted to do by my users a little better. So looks like both the Microsoft documentation for InstallServices ActionData is wrong AND the default InstallShield template of Service: [2]. Or does anyone know if the ActionData that is displaying is an IS-specific custom action, in which case it's just the template that needs tweaking? -jdavidi
... View more
Sep 21, 2010
03:06 PM
Greetings! I'm installing 10 .NET services in our basic MSI project, and was hoping to utilize ActionData to inform the user as to progress beyond the "Installing Services" that already displays. To my surprise, the Windows Installer help says "There are no ActionData messages." However, under ActionText in Custom Actions and Sequences view, there is an InstallServices item and it lists Service: [2] as the template. Is there any way to utilize this, or is this a typo in the editor? Thanks much! --jdavidi
... View more
Labels
- Labels:
-
InstallShield 2011
Sep 14, 2010
07:58 AM
Greetings! In my aim to stop and start the World Wide Web Publishing service during my install, I used the component wizard to set up a service control component for W3SVC. I selected the stop and start actions for both install and uninstall. However, I noticed in the designer that this component got created with 2 service events: NewEvent1 to handle the Install Stop/Start and NewEvent2 to handle the Uninstall Stop/Start. I was just curious if there was any particular reason that the wizard splits the events this way? Is there anything wrong with a single event with the 4 values set to "Yes" (i.e. a single entry in the ServiceControl table as opposed to 2)? Thanks much! --jdavidi
... View more
Labels
- Labels:
-
InstallShield 2011
Aug 31, 2010
12:39 PM
Ah, thanks -- that clears it up! 🙂
... View more
Latest posts by jdavidi
Subject | Views | Posted |
---|---|---|
574 | Mar 17, 2011 08:55 AM | |
782 | Feb 22, 2011 09:08 AM | |
5788 | Feb 04, 2011 12:01 PM | |
459 | Dec 02, 2010 08:28 AM | |
1921 | Nov 22, 2010 08:49 AM | |
694 | Nov 22, 2010 08:42 AM | |
898 | Nov 03, 2010 01:11 PM | |
5800 | Oct 19, 2010 03:56 PM | |
457 | Oct 06, 2010 01:32 PM | |
2068 | Oct 06, 2010 11:39 AM |
Activity Feed
- Posted Re: Path question using Team Foundation Build on InstallShield Forum. Mar 17, 2011 08:55 AM
- Posted Re: System Search - 64-bit registry and WIN64DUALFOLDERS on InstallShield Forum. Feb 22, 2011 09:08 AM
- Posted System Search - 64-bit registry and WIN64DUALFOLDERS on InstallShield Forum. Feb 04, 2011 12:01 PM
- Posted Re: Allow overall install destination change, but NOT feature destination changes? on InstallShield Forum. Dec 02, 2010 08:28 AM
- Posted Allow overall install destination change, but NOT feature destination changes? on InstallShield Forum. Nov 22, 2010 08:49 AM
- Posted Re: Probem with prerequisites and dependencies on InstallShield Forum. Nov 22, 2010 08:42 AM
- Posted Re: msbuild InstallShield task and setup.inx on InstallShield Forum. Nov 03, 2010 01:11 PM
- Posted msbuild InstallShield task and setup.inx on InstallShield Forum. Oct 19, 2010 03:56 PM
- Posted Re: Service control - option to ignore on failure? on InstallShield Forum. Oct 06, 2010 01:32 PM
- Posted Service control - option to ignore on failure? on InstallShield Forum. Oct 06, 2010 11:39 AM
- Posted Adding Virtual directories to existing websites on InstallShield Forum. Sep 28, 2010 03:23 PM
- Posted Re: InstallServices ActionData? on InstallShield Forum. Sep 22, 2010 07:55 AM
- Posted InstallServices ActionData? on InstallShield Forum. Sep 21, 2010 03:06 PM
- Posted Service Control and the Component Wizard on InstallShield Forum. Sep 14, 2010 07:58 AM
- Posted Re: Dialogs: Edit Field Text vs Property Properties on InstallShield Forum. Aug 31, 2010 12:39 PM
- Posted Re: IS 2011 / IS Collaboration questions on InstallShield Forum. Aug 30, 2010 08:05 AM
- Posted Dialogs: Edit Field Text vs Property Properties on InstallShield Forum. Aug 27, 2010 04:48 PM
- Posted Re: IS 2011 / IS Collaboration questions on InstallShield Forum. Aug 26, 2010 01:01 PM
- Posted Re: IS 2011 / IS Collaboration questions on InstallShield Forum. Aug 26, 2010 11:03 AM
- Posted IS 2011 / IS Collaboration questions on InstallShield Forum. Aug 23, 2010 10:52 AM