Announcement

Collapse
No announcement yet.

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

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      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.

      Comment


      • #4
        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: [email protected] .

        mark.
        MSI Factory The Next Generation Intelligent Setup Builder

        Comment


        • #5
          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.

          Comment


          • #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

            Comment


            • #7
              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).]

              Comment


              • #8
                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

                Comment

                Working...
                X