Postby Craig Daniel » Thu Sep 11, 2014 3:45 pm
I see this is a very old thread, but I thought I would add my two cents, and also ask whether any action was ever taken to support this feature.
When I first started using Install Aware, I was surprised that I couldn’t do this because you can do this with Install Shield and with Microsoft Setup projects in Visual Studio. Surely Install Aware could do this? Nope.
I have a couple situations where I’d really like this feature:
1. I have two different web.config files and two different index.htm files that get installed depending on a choice made during the installation wizard. Because I can’t rename at install time, I have to maintain these two source files (with the same name) in separate folders. Not a huge deal, but annoying.
2. I install a Silverlight application XAP file. I’ve had problems with Internet Explorer caching the XAP file and then not loading the new one after having installed it. I fixed this by adding a GUID (different at every install) in the query string on the link to the XAP file (using a custom EXE called from the IA script). That way, the browser sees it as a different file and goes to the server to fetch it. Problem is it seems that this still doesn’t always work. What I’d like to do is rename the XAP file to a different name which includes something like the product version number, or even the revision code GUID during the install (no way the browser can mess that up). If I rename it after apply install is done, then the file won’t get uninstalled, right? Because it doesn't have the same name as what got installed.
So, has this feature been added? I’m using IA 9-R2.
Anyone have any other ideas to solve my browser cache problem?