Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Windows setup appends files
Windows setup appends files [message #26287] Wed, 21 April 2010 11:07 Go to next message
Shire is currently offline  Shire
Messages: 41
Registered: September 2006
Location: Russia, Yamal peninsula
Member
When installing IDE in existing directory, it appends files instead of replace.
Re: Windows setup appends files [message #26288 is a reply to message #26287] Wed, 21 April 2010 13:12 Go to previous messageGo to next message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
When installing in an existing directory, the Setup should offer to remove the previous version and if you choose to not remove it, it should abort the install.

Did it behave differently?
Re: Windows setup appends files [message #26289 is a reply to message #26287] Wed, 21 April 2010 13:37 Go to previous messageGo to next message
Shire is currently offline  Shire
Messages: 41
Registered: September 2006
Location: Russia, Yamal peninsula
Member
Revision 2272. If there is no theide.exe, setup do not owerwrite files in destination directory, but appends. For example, Tutorial/Gui01/main.cpp:
#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN {
	PromptOK("Hello world");
}
#include <CtrlLib/CtrlLib.h>

using namespace Upp;

GUI_APP_MAIN {
	PromptOK("Hello world");
}
Re: Windows setup appends files [message #26290 is a reply to message #26289] Wed, 21 April 2010 16:14 Go to previous message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hello Shire/cbpporter

I think that windows installer package is uppbox/WinInstaller2.

This package checks if there is an older install just by checking if theide.exe exists. If it is deleted, install will continue (see file Install.cpp, function BOOL CALLBACK Proc( ), line 32)

In addition, when copying files, for any reason the installer appends the files instead of copying over existing files as it uses FileAppend instead of FileOut (see file 7zMain.c, function void LZMAExtract( ), line 95).

These would explain the problems reported by Shire.


Best regards
IƱaki
Previous Topic: Theide is linked with unnecessary libs on linux
Next Topic: Compiler or LINK options = MSC9 build
Goto Forum:
  


Current Time: Fri Mar 29 08:04:42 CET 2024

Total time taken to generate the page: 0.01970 seconds