Reply to Thread

Post a reply to the thread: Compiling a script file with /C crashes

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)

  • 12-21-2016, 06:59 AM
    linder

    Re: Compiling a script file with /C crashes



    We'll change this behavior in the next build. If you need a quick "fix", let me know and we'll compile a special version for you.

    Thanks again for your help!

    Friedrich
  • 12-21-2016, 06:56 AM
    linder

    Re: Compiling a script file with /C crashes

    Cool, thanks !!!

    Friedrich
  • 12-21-2016, 06:34 AM
    Allan Greis Eriksen

    Re: Compiling a script file with /C crashes

    If it is needed for the compiler to change/update the script file in order to compile I would recommend that it just do change it without warnings. It is okay that you get a warning when compiling manually i.e. from the studio. We have the script files in source control and I would like to know why the script has changes so that I can write that in the commit log.
    Also by changing the script file automatically I do not interrupt my coworkers that are using the command-line-only version of the compiler that a script has changed.

    Thank for looking into this so quickly! That's one of the reasons that I use SetupBuilder.
  • 12-21-2016, 06:28 AM
    Allan Greis Eriksen

    Re: Compiling a script file with /C crashes

    Yep. This works
  • 12-21-2016, 05:44 AM
    linder

    Re: Compiling a script file with /C crashes

    BTW, nothing changed in the /C compiler method so the same would have happened in good old 2009 (when doing a silent compile and a project conversion is required).

    While I have your ear, it seems to me you are doing quite a few command line compilations: would you prefer a new command line switch to let SB automatically update the project in this case (of course, without displaying a message box)? Or do you prefer an auto project-update if the command line /C compiler is used?

    Thank you for your time.

    Friedrich
  • 12-21-2016, 05:24 AM
    linder

    Re: Compiling a script file with /C crashes

    Hi Allan,

    The new version needs additional properties for Windows Server 2016. Last project format update was in late 2009. The conversion process adds the new properties to the project. But of course, it should not crash the silent mode compiler (I have opened a ticket). Please open the script(s) manually and then let the IDE update the project file(s). After that /C works fine again.

    Thanks for bringing this to my attention.

    Friedrich
  • 12-21-2016, 03:39 AM
    Allan Greis Eriksen

    Compiling a script file with /C crashes

    The newest version of SB10 wants to change the scriptfiles when compiling them with /C. Why is this required?

    What happens is that when the compiler starts it gives this information:
    Attachment 4387

    If I click Yes I get another dialog:
    Attachment 4388

    After clicking Yes again the compiler opens the progress dialog, but crashes right after.
    Attachment 4389

Posting Permissions

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