Overwrite in Innosetup

Started by Randem, August 17, 2008, 09:03:54 AM

Previous topic - Next topic

Randem

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.

sacramento

Hi Randem:
 
I had change the Appid but the problem remain...Innosetup continues create a second folder!

Randem

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

Randem

The update script looks fine. Does the original script have the same exact AppId parameter
 
AppId=Winbirds Profissional - Actualiza

sacramento

This is the script
 
Thanks

Randem

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.

sacramento

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