all groups > visual studio .net general > march 2004 >
You're in the

visual studio .net general

group:

Setup Wizard Projects


Setup Wizard Projects Tony
3/4/2004 11:16:40 AM
visual studio .net general:
Can anyone help me determine how to overwrite always by default without
removing the permanent flag on files, when the file that is being copied is
older than the existing - when using an executable genereated from a setup
wizard project.
Also is it possible to get the setup to disregard the fact it needs to be
repaired or uninstalled before doing a normal full install every time.
(always do full install).
Many thanks.

Tone

RE: Setup Wizard Projects davguy NO[at]SPAM online.microsoft.com
3/4/2004 8:26:16 PM
You should check the Windows Installer help for the rules on Copying
Versioned Files and Copying Unversioned Files. They are good discussions
on how Windows Installer decides whether to replace files.

I think the best way to do this, however, if you are trying to upgrade a
program, is to use the RemovePreviousVersions flag on the Setup project. If
set to true, it will first uninstall the old installation (and remove the
files), then, it will install the newer one. There is a bug on this where
it doesn't work if the previous installation was installed for Everyone
(all users / per machine). Then, you need to manually uninstall it (which
you could do using a batch file to uninstall the existing one, then install
the new one).




I don't understand your second question?
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view]
microsoft.public.dotnet.languages.vb,microsoft.public.vsnet.general,microsof
t.public.vstudio.development
[quoted text, click to view]
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!uio.no!news.tele.
dk!news.tele.dk!small.news.tele.dk!sn-xit-02!sn-xit-06!sn-xit-01!sn-post-01!
supernews.com!corp.supernews.com!not-for-mail
[quoted text, click to view]
microsoft.public.vstudio.development:4491
microsoft.public.dotnet.languages.vb:186406
[quoted text, click to view]
Re: Setup Wizard Projects Tony
3/5/2004 4:31:51 PM
David
Thanks for that....is there anyway that I can incorporate a script into the
setup process somewhere that encompasses the removal of these files, given
that it is bugged?

My 2nd question, is to clarify, can you get the Setupshield to forget about
the fact it is installed (ie everytime its installed, its as if its never
been isntalled).
I want to apply files using the setupwizard, but never remove the files or
UNINSTALL it.

Thanks

[quoted text, click to view]

Re: Setup Wizard Projects Tony
3/5/2004 5:49:47 PM
Ive tried using REINSTALL=ALL REINSTALLMODE=a in the setup.ini or command
line of a batch script would this help?
Cant seem to get it to make any difference but came across possibility via
the Installshield website.

Re: Setup Wizard Projects davguy NO[at]SPAM online.microsoft.com
3/25/2004 8:20:31 PM
Since you are already using a batch file, what I would probably do before
running your newer app is this:
msiexec /x {productcode}

get the {productcode} from your V1 of the Setup.msi file.

You asked about having an install not know about the fact it is installed.
Long story short, that is not supported under Windows Installer.

I hope that helps and I apologize for the delay.

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view]
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!tiscali!newsfeed1.ip.tiscali.net!proxad.net!news-out.visi.com!petbe.vis
i.com!news.octanews.net!sn-xit-02!sn-xit-01!sn-post-01!supernews.com!corp.su
pernews.com!not-for-mail
[quoted text, click to view]
AddThis Social Bookmark Button