Reply to Thread

Post a reply to the thread: How do I get the logs of installation

Your Message

Click here to log in

What's the name of our main installation product (in uppercase letters), directly followed by the current year?

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 09-07-2020, 03:45 AM
    testuser

    Re: How do I get the logs of installation

    Yes it worked, Thanks!!
  • 09-03-2020, 08:25 AM
    linder

    Re: How do I get the logs of installation

    Hello,

    Yes, this is the expected behavior. C:\ is a protected Windows resource. So if you create an "asInvoker" setup and run it non-elevated, then it can't write to the protected root of C:\.

    Please see the following switches in the manual. This lets you define the folder:

    /E2 [folder\]filename
    /E3 [folder\]filename

    Friedrich
  • 09-03-2020, 07:53 AM
    testuser

    Re: How do I get the logs of installation

    Thanks!! please check if it is possible.

    However I was trying to use /E switch but it was not generating the log file, please find the attachment for it.
    Just to let you know if following things have impact on logging:
    1.My application UAC level is asInvoker
    2.Command prompt is not run as admin
    3.I was checking txt log file at c:\
    4. I have tried forward and backword slash for E

    am I missing something?

    Attachment 5011
  • 09-03-2020, 07:45 AM
    linder

    Re: How do I get the logs of installation

    Hello,

    the /E event logging switch is strictly required in order to enable this feature. It's not possible to enable it by default. But I'll check if it is possible to add such a feature.

    Friedrich
  • 09-03-2020, 12:20 AM
    testuser

    Re: How do I get the logs of installation

    Hi Friedrich,

    Event logging will be enabled by passing \E command line option while running the installer. However If I want to always enable event logging without passing the \E, How can I do this? User will just double click on installer file and event logging should happen in that case.


    Thanks in advance!!
  • 08-31-2020, 01:10 AM
    testuser

    Re: How do I get the logs of installation

    Thanks Friedrich,

    I'll check that.
  • 08-27-2020, 07:44 AM
    linder

    Re: How do I get the logs of installation

    Hello,

    not exactly sure how to answer this question. The UNinstallation log (an ASCII text file) logs actions to power the uninstall executable (uninstall files, registry entries, edit INI, shortcuts, etc.). It does not log all actions (e.g. Run, Search for File, etc.).

    You can run an installer in event logging mode (/E) to check specific actions.

    Friedrich
  • 08-27-2020, 07:17 AM
    testuser

    Re: How do I get the logs of installation

    Hello,

    can you please comment on installation logs?

    Thanks!
  • 08-26-2020, 11:56 PM
    testuser

    Re: How do I get the logs of installation

    Thanks Friedrich!!

    I'll definitely check this.
  • 08-26-2020, 07:31 AM
    linder

    Re: How do I get the logs of installation

    Hello,

    the default and recommended way is to let Windows replace the file at the next reboot.

    If you would like to stop the installation, you can use the "Check In-user File..." and/or "Check In-use Folder Tree..." script functions and then act accordantly (e.g. ask the user to stop the app or kill a service and wait, then check again if it is still locked), or Exit the install.

    You should do it BEFORE you begin to modify the system.

    Friedrich
This thread has more than 10 replies. Click here to review the whole thread.

Posting Permissions

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