Hi:
I had create a project in innoscript and then pass this project to innosetup...this is a update project...the intention is update the file .exe in the project.
The problem is:
The installation create a second folder with the .exe file(and the same name) and don't overwrite the file that i want in the folder that I want...
Any tip to do this?
Thanks
Without seeing what you are doing all I can state that you need to change the version number of the exe project before you compile an update or new release so that it will be replaced on the target system under normal Inno Setup operations.
I don't understand what you mean by the installation creates a second folder. Inno Setup will use the last installed folder if you use the same AppId as the original installation. Post your script.
This is the script
Thanks
The update script looks fine. Does the original script have the same exact AppId parameter
AppId=Winbirds Profissional - Actualiza
Here is your answer from your other script. The AppId's are not the same so it will not automatically install over the other. In your original script you have
AppId=Winbirds Profissional
and in your update you have
AppId=Winbirds Profissional - Actualiza
Hi Randem:
I had change the Appid but the problem remain...Innosetup continues create a second folder!
What folder are you referring to?
You will probably have to uninstall the app and start from scratch on the installs. Are you using Virtual PC 2007 for your clean installations? If not I would suggest it.
The problem it's the same like in the begin...The package made it by innosetup create a iqual folder name Winbirds Profissional,and don't overwrite it!
What is Virtual PC 2007 ?
Virtual Pc 207 is a product where you can run multiple OS's on your computer without having to install a dual boot. Google it.
What is iqual? Is only one folder being created? If you have not changed the version numbers the exe will not be overwritten unless you override it with the ignoreversion flag.
Setup create a equal folder...I have a folder name's Winbirds Profissional and all files the program need's to work...When I execute the setup innosetup go's create annother folder with the same name Winbirds Profissional...That i need it's just overwrite my old's files for update them!
Can you tell me where I can put the ignoreversion flag?
And the syntax is ignoreversion=yes?
It goes on the line in the [Files] section.
In the [FIles] section I got a error...
Maybe [Flags] section?
on the line where the file is...
Flags: ignoreversion...
ok...I had find...
The Problem remain...
This put me mad!!!
lets see that script...
The script is fine. Are you installing in the same folder?
yes...that's because i think this is very strange
(Message edited by sacramento on August 17, 2008)
Well...something it's more very strange now...
I had installed the original program,and then the update...Now the setup have work well...
Strange no?
Maybe because the old installation as made by annother Setup????
So how are you checking to see if it changed?
Also if you check the install log you can see exactly what happened. Look in UserYourusernameAppDataLocalTemp folder for the log
That is the way I told you to do it. That is the way it should work.
The same AppId...
(Message edited by randem on August 17, 2008)