AutoUpdate cannot change executionlevel

Comments

2 comments

  • Avatar
    wojciechka

    Can you try to download InstallBuilder 8.5.2 (Professional, Enterprise or Qt) and build autoupdate using a fresh installation?

    We have just doublechecked and with your exact configuration, it is built properly:

    C:\>"C:\InstallBuilder\autoupdate\bin\customize.exe" build autoupdate.xml windows Autoupdater successfully created. You can find it at C:\Users\BitRock\Documents\AutoUpdate\output\autoupdate-windows.exe

    What operating system version are you trying to build it on?

  • Avatar
    welemon

    Okay, I think I find something. This might be caused by anti-virus software is preventing modifying or creating exe. After getting latest 8.5.2, it still have some issue. but if I change XML file content or move the install location, it has small chance to be able to generate correct exe. If I re-run the same process with same XML content and location, most likely it will fail error.

    see my following testing result:

    C:\InstallBuilder8.5.2_\autoupdate\bin>customize.exe build autoupdate.xml windows
    Autoupdater successfully created. You can find it at
    
     C:\Users\leewi\Documents\AutoUpdate\output\autoupdate-windows.exe
    
    C:\InstallBuilder8.5.2_\autoupdate\bin>customize.exe build autoupdate.xml windows
    Error changing executionlevel
    
    C:\InstallBuilder8.5.2_\autoupdate\bin>customize.exe build autoupdate.xml windows
    Error changing executionlevel
    
    C:\InstallBuilder8.5.2_\autoupdate\bin>customize.exe build autoupdate.xml windows
    Couldn't open C:/Users/leewi/Documents/AutoUpdate/output/autoupdate-windows.exe:
    couldn't open "C:/Users/leewi/Documents/AutoUpdate/output/autoupdate-windows.exe": permission denied
    
    C:\InstallBuilder8.5.2_\autoupdate\bin>customize.exe build autoupdate.xml windows
    Error changing executionlevel
    
    C:\InstallBuilder8.5.2_\autoupdate\bin>
    

    I think BitRock InstallBuilder should take this as common use case, enterprise users commonly install anti-virus software by IT, without chance to disable it.

    Is it possible to avoid *.exe extension while generating autoupdate.exe? We can rename it after changing the manifest etc.

    thanks, William L.

Please sign in to leave a comment.