Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2007
    Posts
    32

    Setup log not being generated

    I have the option selected during the installation process under Settings > Log Files to have a setup log automatically created. However, the log is not being created. I have attempted to change the path of the setup file to numerous locations, but it is still not generated by the installer. What could be the problem to this?

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862
    Quote Originally Posted by gott View Post
    I have the option selected during the installation process under Settings > Log Files to have a setup log automatically created. However, the log is not being created. I have attempted to change the path of the setup file to numerous locations, but it is still not generated by the installer. What could be the problem to this?
    What is the log file name you've entered?


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  3. #3
    Join Date
    Sep 2007
    Posts
    32
    It is just the default name, along with the destination. For example, %ProgramHome%\%ProductName% Set Up Log.txt. I have the same path associated with the uninstall log, and that works fine.

  4. #4
    Join Date
    Oct 2001
    Location
    Norway
    Posts
    939
    The setup log path/file name has to be known immediately when the startup.exe is opened (the first entry is “Success Setup started: <exe with full path>”. The default value is %WindowsFolder%\%ProductName%\Setup Log.txt.

    You have %ProgramHome%\%ProductName%\Set Up Log.txt. Is %ProgramHome% a value defined in the Session Variables screen or is the name depending on a user choice later on in the setup process?

    Usually I have the log file like “%UninstallPath%\Setup Log.txt” with %UninstallPath% = %WindowsFolder%\IR_Setup\%CompanyName%\%ProductNam e%.

    I have never had any problems with the log files and I love to use them extensively with SetupData.WriteToLogFile().

  5. #5
    Join Date
    Sep 2007
    Posts
    32
    I actually have the variable that I am using to install the setup log as an action that is set on startup. This is where the variable is defined. I would like to know if there would be another way, possible as an item in Action > On Startup to define where this log file will reside. The folder does exist upon startup of the application, so I don't believe this to be an issue.

  6. #6
    Join Date
    Sep 2007
    Posts
    32
    I've attempted to create the file to the application drive and that seems to work. Then, during an Action > On Post Install I've attempted to use the File>move command to relocate this log to the Program home directory, but it does not appear to work. Any other suggestions?

  7. #7
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862
    Quote Originally Posted by gott View Post
    I actually have the variable that I am using to install the setup log as an action that is set on startup. This is where the variable is defined. I would like to know if there would be another way, possible as an item in Action > On Startup to define where this log file will reside. The folder does exist upon startup of the application, so I don't believe this to be an issue.
    "on startup" is past the point of when logging 'starts' -- you need to define the variable in the session variable screen.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  8. #8
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862
    Quote Originally Posted by gott View Post
    I've attempted to create the file to the application drive and that seems to work. Then, during an Action > On Post Install I've attempted to use the File>move command to relocate this log to the Program home directory, but it does not appear to work. Any other suggestions?
    so you assume everyone installing will have full rights to the root application drive. You make a lot of assusptions.

    Write the log file to the temp directory & then use
    File.MoveOnReboot()

    The reason you can't move it is because the file is in use until the installer is closed. Check your error messages and you'd find out more information on the "whys" of your questions...


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  9. #9
    Join Date
    Sep 2007
    Posts
    32
    so you assume everyone installing will have full rights to the root application drive. You make a lot of assusptions.
    I don't recall making any sorts of assumptions based on this installation. The installer will not execute unless the user had Administrative privileges, if this is what you are after. Also, the installer does not require a reboot after completing, so File.MoveOnReboot() will most likely not be the option I need.

  10. #10
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862
    Quote Originally Posted by gott View Post
    I don't recall making any sorts of assumptions based on this installation. The installer will not execute unless the user had

    Forgive me, I assumed the installer in This Thread was the same one here, since you appear to be so new to building installers -- in that thread you assume everyone installs to c:\program files

    Quote Originally Posted by gott View Post
    Also, the installer does not require a reboot after completing, so File.MoveOnReboot() will most likely not be the option I need.
    Well; I'm out of ideas short of writing another exe that you launch "on shutdown" have it sleep or 30 seconds or so and then copy the file from temp to whereever.

    Good luck, I'm out of ideas for you.


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Similar Threads

  1. Learning Setup Factory 7.0
    By Ted Sullivan in forum Setup Factory 7.0
    Replies: 0
    Last Post: 09-22-2004, 01:01 PM
  2. New Features in Setup Factory 7.0
    By Ted Sullivan in forum Setup Factory 7.0
    Replies: 0
    Last Post: 08-12-2004, 12:13 PM
  3. FAQ: Setup Factory 5.0 Frequently Asked Questions
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-10-2002, 09:50 AM
  4. HOWTO: Build a Setup from the Command Line
    By Support in forum Setup Factory 5.0
    Replies: 0
    Last Post: 10-08-2002, 01:43 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