Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2002
    Location
    germany
    Posts
    6

    Grin SF5.0.1.6 the error still exist (Never overwrite existing file)

    Meanwhile I have try it with the version 5.0.1.6, but the problem still exist!!!

    here the problem:
    If the user change the setup-destination path
    e.g. to c:\program files\myprog\
    (important! ending with backslash)

    and the properties of the dest.file is:
    'Install file to this location:'
    = %AppDir%\dll

    'If file already exists:'
    = Never overwrite existing file

    in this case, the file is overwritten even though the file is existing.

    I think, SF generates the full installation path to c:\program files\myprog\\dll
    (here double backslash) and the internal function for checking an existing file
    can't work with this double backslash.

    How can I solve this problem?


    best regards

    Karl Scampi



  2. #2
    Join Date
    Jun 2000
    Location
    Indigo Rose Software
    Posts
    1,943

    Re: SF5.0.1.6 the error still exist (Never overwrite existing file)

    Hi,

    Are you sure that the file is being overwritten? How are you testing this?

    Perhaps you could generate a LOG FILE (Settings -> General Design -> Settings Tab) and then see what the log file reports about that specific file. Please post that section of the log file.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

  3. #3
    Join Date
    Feb 2002
    Location
    germany
    Posts
    6

    Grin Re: SF5.0.1.6 the error still exist (Never overwrite existing file)

    Hi Mark,

    I am really sure that this problem exist.
    I test it as follows:

    1.) I make a first installation
    - Instpath = C:\program files\fibu\
    - in the mainpath an exe-file
    - in the subfolder (Databases) a mdb-file
    now, I insert some records into the database

    2.) I make a second installation
    - Instpath = C:\program files\fibu\
    now, I look into the database and the database is empty.

    the following inst.log show the problem:

    Setup Factory 5.0 Installation Log
    ==================================
    Date/Time: 19-Feb-02 02:56:31 PM

    [Execute Commands 0]

    [File Operations 0]

    [Execute Commands 1]

    [File Operations 1]

    [Installing from Archive]
    C:\Programme\FIBU\fibu.exe (Installed)
    C:\Programme\FIBU\\Databases\db1.mdb (Installed)

    [Installing External]

    [Register Fonts]

    [File Registration]

    [Uninstall]
    C:\WINDOWS\iun507.exe

    [Registry Commands]

    [Text File Commands]

    [INI File Commands]

    [Shortcut Commands]

    [Program Icons]
    C:\Windows\Desktop\fibu.exe.lnk

    [Execute Commands 2]

    [File Operations 2]

    [Execute Commands 3]

    [File Operations 3]

    Setup completed normally.


    Setup Factory 5.0 Installation Log
    ==================================
    Date/Time: 19-Feb-02 02:57:01 PM

    [Execute Commands 0]

    [File Operations 0]

    [Execute Commands 1]

    [File Operations 1]

    [Installing from Archive]
    C:\Programme\FIBU\fibu.exe (Installed)
    C:\Programme\FIBU\\Databases\db1.mdb (Installed)

    [Installing External]

    [Register Fonts]

    [File Registration]

    [Uninstall]
    C:\WINDOWS\iun507.exe

    [Registry Commands]

    [Text File Commands]

    [INI File Commands]

    [Shortcut Commands]

    [Program Icons]
    C:\Windows\Desktop\fibu.exe.lnk

    [Execute Commands 2]

    [File Operations 2]

    [Execute Commands 3]

    [File Operations 3]

    Setup completed normally.


    best regards

    Karl Scampi

    Originally posted by Mark:
    Hi,

    Are you sure that the file is being overwritten? How are you testing this?

    Perhaps you could generate a LOG FILE (Settings -> General Design -> Settings Tab) and then see what the log file reports about that specific file. Please post that section of the log file.

    mark.

  4. #4
    Join Date
    Jun 2000
    Location
    Indigo Rose Software
    Posts
    1,943

    Re: SF5.0.1.6 the error still exist (Never overwrite existing file)

    Hi,

    Perhaps you could send me your project file. Send it to: mark@indigorose.com .

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

  5. #5
    Join Date
    Jan 2002
    Posts
    83

    Re: SF5.0.1.6 the error still exist (Never overwrite existing file)

    I routinely do this type of stuff.
    I have two major type of installations:
    1. Typical and
    2. Upgrade

    In Typical i copy my ini file.
    In Upgrade, i should not copy my file, so in my archive i set the file to-->never over write an exisinting file.

    Then i do a query for all the sections in my ini file and then write the values or sections if they are missing, else modify the ini file accordingly.

  6. #6
    Join Date
    Feb 2002
    Location
    germany
    Posts
    6

    Re: SF5.0.1.6 the error still exist (Never overwrite existing file)

    Hi,

    that is a good idea, but in my case the file is an database.
    I can not guarantee, that the user select the right installation-option. If the user select the wrong option, the data will be lost.

    meanwhile, we have recognize that the problem exists only in the operation system Windows95 and Windows98, WinNT and Windows2000 works properly.

    Sincerely,

    Karl Scampi

  7. #7
    Join Date
    Jan 2002
    Location
    Hodgen, OK, USA
    Posts
    15

    Re: SF5.0.1.6 the error still exist (Never overwrite existing file)

    I am ok now

    [This message has been edited by Jean (edited 02-20-2002).]

  8. #8
    Join Date
    Feb 2002
    Location
    germany
    Posts
    6

    Re: SF5.0.1.6 the error still exist (Never overwrite existing file)

    Hi Jean,

    I tested it with some Win95 and Win98(german Version) PCs.
    The version of SetupFactory is 5.0.1.6
    The installation-path must be end with backslash (e.g. c:\program files\fibu\)

    Have you test it in a similar constellation?

    Thankyou

    Karl Scampi

Posting Permissions

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