Jun 01, 2011
04:04 PM
Update: the problems reported in the previous post happens when installing on win2008. When installing on win2003, we also have problems, but the installer behaves differently: -no new app pools are created. So, all existing apps and the new app end up attached to the one and only app pool -the existing apps are correctly left at their original .net version (2), and the new app is correctly set to .net version 4. -this config, of course, does not work either, because a single IIS6 app pool cannot support more than one version of .net. So, the first app started after the pool is reset defines the .net version of the pool, and no other apps will run. For example, if the old (net v2) app is started, it works, but then starting the new app fails. restarting the pool, and then reversing the app start order, results in the new app working and the old app failing. Looking at the msi log for 2003, it is different than on 2008: 1) aspnet_regiis.exe -ir (this installs aspnet.) 2) aspnet_regiis.exe -k w3svc/1/root/[newapp] 3) aspnet_regiis.exe -s w3svc/1/root/[newapp] So, the behavior is diffence is explained, but the reason why ISLE does different commands based on 2003 v 2008 in regard to this is still a question. So, right now it appears ISLE doesn't support installing a new web app onto a server that has existing .net web apps that use a different .net version - it fails (in different ways) on both win2003 and win2008. Any help on this?
... View more
Jun 01, 2011
12:57 PM
.net version for entire website erroneously being changed: We are using ISLE 2011 to install an ASP.NET app to IIS on w2003 and 2008. We want the setup to create the new app in the existing website (if any), and set the .net version of this new app to .net4 - but do NOT change the .net version of the root site or any other apps in the site. To try to do this, in isle iis view we create a new website with port=80, sitenumber=0 (that is, use the existing site, if any), and left the site's "ASP.NET version" property blank. We then created our new app in this site, and set the ASP.NET version to 4.0.30319. This does not work. After the installer runs, the existing web site, and all existing web apps, are moved to a new .net 4 app pool called "ASP.NET v4.0 Default App Pool". We looked in the win installer log, and it seems ISLE is executing aspnet_regiis.exe 3 times: 1) aspnet_regiis.exe -ir (this installs aspnet.) 2) aspnet_regiis.exe -k w3svc/1/root 3) aspnet_regiis.exe -s w3svc/1/root I think #2 and #3 are the problem - shouldn't they be for just the new app, not the entire root (that is the website)? This install breaks .net 2 apps that currently exist on the server. How can we get ISLE to use the correct path for #2 and #3?
... View more
Jun 01, 2011
10:50 AM
Hi, Madu, Thanks for your response. I have ISLE 2011, and I don't see either of those two entries in my redistributables view! I only have 4 entries that have "SQL" in them: 1) SQL CE 3.5 SP2 2) SQL 2005 Express SP3 (x86) 3) SQL 2008 Expresss SP1 (x86 and x64Wow) 4) SQL 2008 Express SP1 (x86) Could they somehow be hidden or something? Do I need to download something from your website to get them to show up? Thanks, -Andy
... View more
Jun 01, 2011
10:44 AM
Hi, Madusree, Thanks. I haven't been able to try what you asked on the TFS machine, but TFS build is running as a service. However, the same problem I reported occurs even outside of TFS build. For example, the same solution that works properly when built interactively on my PC using Visual Studio, exhibits the problem if I instead go to a command prompt on my machine and build the solution from the cmdline using msbuild. I am running the cmdprompt as the same user as Visual Studio, and it is an admin. BTW, the TFS service account is ALSO currently running as an admin, against the Microsoft best practice, so as to work around the problem where the ISLE build doesn't work with TFS build unless it's running as an admin. For now, I've worked around this problem by adding all of the primary outputs of the dependent projects to the bin folder. It should be easy to reproduce this problem. Have you been able to repro it? Regards, -Andy
... View more
Jun 01, 2011
10:33 AM
Thanks, Madusree. I haven't tried an explicit msbuild task for the workaround as you described, but I was able to workaround the problem by defining a pre-build event that runs the "attrib -r" cmd for the web.config. However, as I mentioned in my original post, it seems this is really a workaround to the "Override System attributes" installshield function not working as a way to clear the read-only flag. Is this a known bug with a fix scheduled? Thanks a bunch!
... View more
May 26, 2011
09:55 AM
I am using ISLE 2011. I need to redistribute the SQL Server native client (for 2008 R2, preferably) with my setup program. This link says Installshield 2011 includes SQL native client redistributables: http://blogs.flexerasoftware.com/installtalk/2011/03/deploying-legacy-web-applications-with-the-latest-version-of-sql-server.html However, I don't see these redistributables in my ISLE UI. How can I add them? Thanks!
... View more
May 26, 2011
09:11 AM
I am using ISLE 2011 with an ASP.NET app. When I build the setup project in VS2010 (interactively), the setup program will put all of the .net assemblies for other projects in the solution that the web project is dependent on into the web app's bin folder (well, it actually puts them in the app\bin\bin folder, as described in another post.) However, when I build the exact same solution from TFS build, the only file that the resulting setup.exe program puts into the app's bin folder is the assembly for the web project itself - all of the dependent assemblies are missing! The setup is configured to put the "Primary Output" of the web project into an explicitly defined folder called "bin" under the [INSTALLDIR]; when I click "resolve project output", it only shows the one assembly for the web project itself, but when I click on "dependencies from scan at build", it shows all of the dependent assemblies. I also checked the .net "Scan at build" setting for the "primary output" element; it is set to "dependencies and properties". Is this correct? How can I fix this?
... View more
May 24, 2011
06:00 PM
I am using ISLE-2011 to setup an asp.net app on windows 2008, including setup a new web site and application in IIS. There appears to be a known issue where the install will fail on 2008 if web.config that is being installed is marked as read-only. I am specifying this file in ISLE indirectly, via the ASP.NET web project's "Content Files". I tried clicking on this "Content Files" entry in my "destination computer's files" (bottom right pane in ISLE files view), right clicking, select properties, checking the "Override System attributes", and then making sure the "Read Only" checkbox is clear. However, this does not fix the problem. I verified that adjusting the "Content Files" entry's settings this way seems to have no effect on the files installed by manually changing the actual web.config file's read-only attribute to false, and then successfully installing. At this point, I view the attributes of the the files installed, and all the installed files except web.config are still set to read-only, even though I set the "Override System attributes" box and cleared the "read only" box for the "Content files" entry. I'd like to continue to use the "Content files" entry, instead of manually linking to files, because it avoids missing files when added, and also manually adding explicit links seems to put the full path to the file - which won't work for me because I'm using tfs build. How can I get "web.config" to be copied via "Content files" but still be marked as not-read-only, without having to actually set the web.config file to not be read only? I don't want to set the actual file to be not read only because I'm reading the files from TFS via tfs build (msbuild.) I suppose I could create some custom build step somewhere that changes the file attrib somewhere or checks out the file, but that seems hokey.
... View more
Feb 22, 2011
08:28 AM
Hi, Madusree, Thanks for your response. I just reviewed that topic in your help file. I see a list of several features that are documented not to work when running as a non-admin, but I find no mention of the reported error we've been discussing: "-7159: The product license has expired or has not yet been initialized" Also, as I recall, this isn't just a problem relating the installation of ISLE; rather, I recall that on our TFS machine: 1) I got the error when running as non admin build acct 2) I changed the build acct to be an admin, retstarted the build svc, and then builds worked fine 3) I then changed the bld account back to not being an admin, restarted the bld svc, and then again started getting the error So, it seems this may be some other problem. While developers often run as admins on their machine, it is less common to run the tfs build account as an admin, and actually goes against the best practices recommended by Microsoft's TFS installation guide "...None of the accounts in this topic should belong to the Administrators security group..."
... View more
Feb 14, 2011
08:24 AM
Hi, Madusree, Thank you very much for your response. I am extremely disappointed that ISLE 2011 does not support creating installers for 64 bit platforms. While that may make sense from Flexera's business perspective, it leaves Visual Studio 2010 users in a troubling position, where now the only tool that comes with VS2010 that supports creating 64 bit installers (Visual Studio setup & deployment projects) Microsoft cautions users will not exist in future VS versions, and they say ISLE "replaces" such projects in VS2010. This is all very concerning because as you probably know, 2008R2 and future winservers will only be available in x64, no 32bit. While they do support Wow64, it hardly seems wise, if they want developers to support their new OS's natively, to remove support for tools that support such things.
... View more
Feb 11, 2011
05:35 PM
We want to create an installer for an asp.net app using ISLE 2011. We want to target iis 5.1 thru 7.5. We noticed then when we install our app on a clean ii6 install, aspx functionality (referred to in iis6 as a "web service extension") isn't allowed (it remains set as prohibited.) Is there an easy way to get the installer to enable the aspx web service extension in ii6 (if we're installing on ii6)? Will this also work for the iis7.5 "Isapi and CGI Restrictions" (that is, do we need to do a similar thing there)? Thanks!
... View more
Feb 11, 2011
05:22 PM
I am using VS2010 with ISLE 2011 to create an installer for an ASP.NET app. This type of app puts the built DLLs in the bin subfolder. If I create an installer that puts both the primary output and content output of the asp.net app into the INSTALLDIR, everything works fine with the installer created by VS; the DLLs end up in the bin subfolder of the install dir. However, if I build the same project either locally using msbuild from the cmdline, OR remotely via TFS build, the installer doesn't create a bin folder at all (the DLLs instead end up in the INSTALLDIR), and of course the app doesn't work. (it does work if, after install, I manually create the bin subfolder and copy the DLLs there.) So...I can also get things to work the opposite way: if I configure the installer to put the content in the INSTALLDIR and the primary output in an explicitly created subfolder of INSTALLDIR called "bin", then when I build with VS, the generated installer puts the DLLs into the [INSTALLDIR]\bin\bin folder! Of course the app doesn't work. However, if instead of VS I use either the local msbuild or remote tfs build, the installer puts the DLLs correctly in [INSTALLDIR]\bin and the app works. So....how can I get the installers built with both VS AND msbuild/tfs build to work correctly? It is scary that the output the developer sees in VS is completely different than what occurs with msbuild/tfs build. I have seen some forum discussions on the net that seem to refer to this bin\bin problem from back in 2003. Is this a long standing problem? Is there a known fix?
... View more
Feb 11, 2011
05:03 PM
I have the exact same problem with ISLE 2011. It happens for a asp.net web project. No outputs for project "[snip!]" were provided, but the installation project references "[snip!].Content Files". C:\Program Files (x86)\MSBuild\InstallShield\2011Limited\InstallShield.targets (96): No outputs for project "[snip!]" were provided, but the installation project references "[snip!].Primary output". The build works fine with VS, but with either a local msbuild build, or with a remote TFS build, you see the probem. I was able to fix the problem after reading this post: http://community.flexerasoftware.com/archive/index.php?t-191551.html basically, in my .isproj file, a project reference name was being truncated; for example, the final 'b' was missing here: [Snip!].We instead of [Snip!].Web Manually editing the file fixed this problem. It seems this problem was reported in 2009. It still seems to exist in 2011! Is there an ETA for this fix?
... View more
Feb 11, 2011
03:19 PM
we have the same problem ("The product license has expired or has not yet been initialized") errors with TFS build and ISLE when build service account is not an admin. It works fine if this account is admin, but we don't want this account to have to be an admin. Is there an ETA for a fix for this security problem?
... View more
Feb 11, 2011
03:15 PM
I have Installshield 2011 Limited Edition. Where do I mark a given installation as 64bit or 32bit? Some of the discussions imply that ISLE doesn't support x64 installations. This can't be true, right? This was a single-click change (set the TargetPlatform to x64) in the Visual Studio setup projects that ISLE is replacing. The ISLE help file has a whole section on "Windows Installer on 64-bit Operating Systems", and it discusses setting the "Template Summary" property, but it does not tell you how to do it. Thanks
... View more
Latest posts by asanford
Subject | Views | Posted |
---|---|---|
495 | Jun 01, 2011 04:04 PM | |
531 | Jun 01, 2011 12:57 PM | |
524 | Jun 01, 2011 10:50 AM | |
505 | Jun 01, 2011 10:44 AM | |
895 | Jun 01, 2011 10:33 AM | |
570 | May 26, 2011 09:55 AM | |
562 | May 26, 2011 09:11 AM | |
944 | May 24, 2011 06:00 PM | |
565 | Feb 22, 2011 08:28 AM | |
313 | Feb 14, 2011 08:24 AM |
Activity Feed
- Posted Re: .net version for entire website erroneously being changed on InstallShield Forum. Jun 01, 2011 04:04 PM
- Posted .net version for entire website erroneously being changed on InstallShield Forum. Jun 01, 2011 12:57 PM
- Posted Re: Where are SQL Server native client redistributables? on InstallShield Forum. Jun 01, 2011 10:50 AM
- Posted Re: TFS build doesn't include .net assemblies from dependent projects on InstallShield Forum. Jun 01, 2011 10:44 AM
- Posted Re: clear read-only attribute for Web.Config when specified as Content files on InstallShield Forum. Jun 01, 2011 10:33 AM
- Posted Where are SQL Server native client redistributables? on InstallShield Forum. May 26, 2011 09:55 AM
- Posted TFS build doesn't include .net assemblies from dependent projects on InstallShield Forum. May 26, 2011 09:11 AM
- Posted clear read-only attribute for Web.Config when specified as Content files on InstallShield Forum. May 24, 2011 06:00 PM
- Posted Re: TFS2010: -7159: The product license has expired or has not yet been initialized on InstallShield Forum. Feb 22, 2011 08:28 AM
- Posted Re: x64 installation on InstallShield Forum. Feb 14, 2011 08:24 AM
- Posted enabling aspx in iis6? iis7.5? on InstallShield Forum. Feb 11, 2011 05:35 PM
- Posted no asp.net bin folder! on InstallShield Forum. Feb 11, 2011 05:22 PM
- Posted Re: MSBuild Error "No outputs for project..." on InstallShield Forum. Feb 11, 2011 05:03 PM
- Posted Re: TFS2010: -7159: The product license has expired or has not yet been initialized on InstallShield Forum. Feb 11, 2011 03:19 PM
- Posted x64 installation on InstallShield Forum. Feb 11, 2011 03:15 PM