Install File 'As'

Got a problem you cannot solve? Try here.
Chris Miller
Posts: 66
Joined: Fri Mar 09, 2007 9:46 am
Location: Albany, NY
Contact:

Postby Chris Miller » Mon Jul 27, 2009 3:58 pm

MichaelNesmith wrote:The same could be said of the single file scenario, could it not?

For which part of my message? The use case or the how the UI would appear? I'm just curious to see what the use case would be where you would have to install multiple files with different names. Would this be a conditional rename, bases on a selection made at install time by the user?

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Jul 27, 2009 5:23 pm

It would be easier to copy or rename the files before you build the installer.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

Craig Daniel
Posts: 36
Joined: Tue Aug 07, 2007 11:25 am

Re: Install File 'As'

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?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Install File 'As'

Postby FrancescoT » Fri Sep 12, 2014 11:24 am

Dear Craig Daniel,

unfortunately, such possibility has not been implemented yet and I'll try to see if exist any possibility to have it with next IA releases.

Finally, if a file gets renamed after apply install the file won’t get uninstalled.
In this case you should keep track of the new file name and then to delete it during un-install.

NOTE
The Native Engine does not have this limitation and files renamed with " Copy\Move Local Files" command, should be uninstalled normally without requiring manual deletion.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 150 guests