Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / October 2004

Tip: Looking for answers? Try searching our database.

After start dialogs are removed from msi file, RemovePriorVersions does not work

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff Rhoads - 26 Oct 2004 15:17 GMT
Hello everyone. I created an msi file using VS.NET 2003. I set the
RemovePreviousVerions = true and it worked great... any later versions
would in fact remove prior ones. I wanted to modify my msi install to
just show the progress bar and the completed dialog. So in VS I went
into the User Interface editor and deleted the 3 "Start" dialogs
(Welcome, Installation Folder, Confirm Installation) Then I edited the
msi file in Orca and set FolderForm_AllUsers to "ALL" instead of "ME"
so the install would go to "Everyone", instead of "Just Me"

When I install this msi the UI is great (there is no Welcome,
Installation Folder or Confirm Installation dialogs) and it goes right
to the Progress dialog, but now it will not remove prior versions. My
guess is that this step (Removing prior versions) is done in one of
these 3 dialogs that were deleted. Does anyone know of a way to remove
these first 3 dialogs and still have the msi detect and remove prior
versions? I dont want a silent install because I want the user to see
that the install is taking place and know when it is completed.
Note: I made sure my Upgrade Code and Product Code were valid.

Here is what I tried (none of which work):
Deleting the 3 dialogs in VS.NET's User Interface editor
Deleting the 6 dialog rows in Orca under the Dialog table
Changing the sequence of the RemoveExistingProducts to be the very
last item in Orca in the InstallExecuteSequence
Phil Wilson - 26 Oct 2004 15:28 GMT
You deleted the dialogs where FolderForm_AllUsers has an effect, so I think
you did a per-user install, and that won't upgrade a per-system install. It
should work if you add ALLUSERS to the Property table and give it a value of
1 (that's basically what the dialogs do when FolderForm_AllUsers is ALL).
Signature

Phil Wilson
[Microsoft MVP-Windows Installer]
Definitive Guide to Windows Installer
http://apress.com/book/bookDisplay.html?bID=280

> Hello everyone. I created an msi file using VS.NET 2003. I set the
> RemovePreviousVerions = true and it worked great... any later versions
[quoted text clipped - 20 lines]
> Changing the sequence of the RemoveExistingProducts to be the very
> last item in Orca in the InstallExecuteSequence

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.