|
-
Sep 3rd, 2009, 03:14 PM
#1
Thread Starter
Addicted Member
Inno Setup Flag confirmoverwrite not working any more...
Gents,
I've been using Inno Setup for a long time (now using ver. 5.3.4) and prompting users about overwriting a database file, with perfect success, until recently... Seems the function has stopped working.
I'm sure there must be something I did, but I've been pretty good about documenting my changes and can't find anything...
Here's my script. Please see if you can help:
Code:
[Setup]
MinVersion=5,5
AppName=Bla
AppVersion=2.100
AppVerName=Bla ver. 2.100
OutputBaseFilename=Bla ver 2_100 Setup
AppPublisher=Me
AppPublisherURL=www.Bla.com
AppSupportURL=www.Bla.com
AppUpdatesURL=www.Bla.com
DefaultDirName={pf32}\Bla
DefaultGroupName=Bla
Compression=lzma
SolidCompression=yes
ChangesAssociations=no
AppCopyright=Copyright (C) 2005-2009
BackColor=clBlue
BackColor2=clBlack
UsePreviousAppDir=yes
DisableFinishedPage=yes
DisableDirPage=yes
DisableReadyPage=yes
DisableProgramGroupPage=yes
DisableStartupPrompt=yes
DisableReadyMemo=yes
PrivilegesRequired=admin
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
[InstallDelete]
Type: filesandordirs; Name: "{commonappdata}\Access Quotient"
[Files]
Source: "C:\Bla\DLLS\VB5StKit.dll"; DestDir: "{sys}"; Flags: sharedfile restartreplace uninsneveruninstall
Source: "C:\Bla\DLLS\MSVBVM50.dll"; DestDir: "{sys}"; Flags: regserver restartreplace uninsneveruninstall
Source: "C:\Bla\DLLS\StdOle2.tlb"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: regtypelib restartreplace uninsneveruninstall
Source: "C:\Bla\DLLs\msado25.tlb"; DestDir: "{sys}"; OnlyBelowVersion: 0,6; Flags: regtypelib restartreplace uninsnosharedfileprompt
Source: "C:\Bla\DLLS\OleAut32.dll"; DestDir: "{sys}"; MinVersion: 5,5; Flags: regserver onlyifdoesntexist uninsneveruninstall
;Source: "C:\Bla\DLLS\OleAut32.dll"; DestDir: "{sys}"; Flags: regserver restartreplace uninsneveruninstall
Source: "C:\Bla\DLLS\OlePro32.dll"; DestDir: "{sys}"; Flags: regserver restartreplace uninsneveruninstall
Source: "C:\Bla\DLLS\asycfilt.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall
Source: "C:\Bla\DLLS\Ctl3d32.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall
Source: "C:\Bla\Bla.exe"; DestDir: "{app}"; Flags: ignoreversion
;THIS IS WHERE confirmoverwrite IS NOW BEING IGNORED:
Source: "C:\Bla\Bla.mdb"; DestDir: "{commonappdata}\Bla"; Flags: confirmoverwrite
;...more code follows....
Last edited by Set me As newtype; Sep 3rd, 2009 at 03:31 PM.
-
Sep 3rd, 2009, 06:06 PM
#2
Frenzied Member
Re: Inno Setup Flag confirmoverwrite not working any more...
im not sure... but:
Flags: confirmoverwrite ignoreversion
try that?
also, have you tried using ISTool... - it makes making setups a million times easier 
-Edit:
i just checked on mine and the flags i posted works... so if that doesnt work for you, i suggest you download a new copy of Inno from their website
Last edited by wpearsall; Sep 3rd, 2009 at 06:52 PM.
Wayne
-
Sep 4th, 2009, 11:38 AM
#3
Thread Starter
Addicted Member
Re: Inno Setup Flag confirmoverwrite not working any more...
 Originally Posted by wpearsall
im not sure... but:
Flags: confirmoverwrite ignoreversion
try that?
also, have you tried using ISTool... - it makes making setups a million times easier
-Edit:
i just checked on mine and the flags i posted works... so if that doesnt work for you, i suggest you download a new copy of Inno from their website 
Thanks, Wayne. Still no workie...
I updated to the latest release of Inno and put in the flag you suggested.
I'll have to look back into my archived files and see what I might have inserted/removed above the Files section that might have affected it...
I'll give ISTools a try. Looks interesting.
-
Sep 5th, 2009, 08:19 PM
#4
Frenzied Member
Re: Inno Setup Flag confirmoverwrite not working any more...
-
Sep 8th, 2009, 12:03 PM
#5
Thread Starter
Addicted Member
Re: Inno Setup Flag confirmoverwrite not working any more...
Wayne,
Yep, it's definitely replacing the file, with no warning. And I have removed previous setup and reinstalled. Database is installed in common app files folder.
Will look at testing the setup at end of compile. Is that with Inno Setup or ISTool?
Thanks again!
-
Sep 9th, 2009, 06:46 AM
#6
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|