Results 1 to 6 of 6

Thread: Inno Setup Flag confirmoverwrite not working any more...

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    149

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width