Search:

Type: Posts; User: andrelernhart

Search: Search took 0.00 seconds.

  1. [Execute Programs] before [Install Files]

    Good day,
    I need to actualize .chm files (replace or patch). This works fine.
    I also need to actualize a database - an app (#include support file...) performs some magic doing INSERT, UPDATE,...
  2. Re: on error: increment my_overall_error_counter

    Friedrich,
    thanks for your time.
    I completely agree that for running external apps (like an .exe or .dll), only you know how to interprete the return codes. I have the "Execute Programs" section...
  3. Re: on error: increment my_overall_error_counter

    Hi Friedrich,

    sorry for late reply.
    Thanks for your suggestion - that's exactly what I'm currently doing.

    But...

    What I was looking for is a way to avoid the need to manually (say, using...
  4. on error: increment my_overall_error_counter

    Hi all,
    In a quite complex script, I have to know if any of the actions failed, e.g. some files must be patched but at least 1 file was not found or was not a valid candidate.

    If any action...
  5. Replies
    9
    Views
    7,044

    Re: IF statement evaluation bug?

    Hi Friedrich,

    thanks a lot for this fast reply.

    I'm glad that my logical world is intact again and I'm sorry that there is a bug in SB. Knowing about this glitch will help to avoid more...
  6. Replies
    9
    Views
    7,044

    Re: IF statement evaluation bug?

    Hi Friedrich,

    sorry to bother you once again... but I have the strong suspiction that there IS an "IF" evaluation bug...

    step 1: Install File (<some file from local machine> to <some file on...
  7. Replies
    10
    Views
    7,610

    Re: Force rollback after failed RunProgram

    Friedrich,

    yes, this helps me to save this Sunday :-)

    Perfect, thank you very much, highly appreciated!

    Best regards André
  8. Replies
    10
    Views
    7,610

    Re: Force rollback after failed RunProgram

    Friedrich,

    thank you very very much for this demo!
    Based on your demo (seeing that it works), I finally found the bug in my script. As always a stupid glitch I repeat frequently during the last...
  9. Replies
    10
    Views
    7,610

    Re: Force rollback after failed RunProgram

    Friedrich,

    I tried another couple of hours... no success so far. It seems that I miss some important "detail", it still uninstalls the whole installation, not only the failed update.

    A small...
  10. Replies
    10
    Views
    7,610

    Re: Force rollback after failed RunProgram

    Hi Friedrich,

    thanks for fast reply!

    I was able to catch the "Run Program" return error code, stop writing to the log, and then invoke uninstall.exe using the "Run Command Line" feature with...
  11. Replies
    10
    Views
    7,610

    Force rollback after failed RunProgram

    Hi all,

    I run an external My.exe during installation using "Support Files". My.exe returns an error code (0 if successful, any other value if error). The return error is correctly in...
  12. Replies
    12
    Views
    12,816

    Re: XP Configuration Error

    Hi Friedrich,

    always very welcome!
    Sharing findings is the essence of a forum - you spend a lot of time in explaing again and again, and sometimes its understandable when a newbie is so new to...
  13. Replies
    12
    Views
    12,816

    Re: XP Configuration Error

    Hi all,

    I run into the same problem with the side-by-side configuration error (on Win8.1, Win7, Windows VISTA) after adding a manifest (using SB) to my .exe (which run fine w/o manifest, except...
  14. Re: Setting _SB_FEATURESID and SB_SETUPTYPEID

    Hi Friedrich,

    thanks a bunch! It works very nice with "Set feature state".
    Thanks also for the link with some interesting examples.

    regards, André
  15. Replies
    6
    Views
    6,859

    Re: Decompression error #3

    Hi Friedrich,
    thanks a lot for your time!
    I finally found the reason: the template sets %_SB_BACKUPDIR% to "%_SB_INSTALLDIR%\BACKUP".
    In my somewhat complicated script, the .exe path is defined in...
  16. Replies
    6
    Views
    6,859

    Re: Decompression error #3

    Hi Friedrich,

    I sent the material as requested.
    Thanks in advance, regards
    André
  17. Setting _SB_FEATURESID and SB_SETUPTYPEID

    Hi all,

    My Installer (SB, of corz!) installs only an .exe (=feature1) and the same .exe with some DB and .chm files (=feature2). The feature/setup type is stored in the Registry.

    A second...
  18. Replies
    6
    Views
    6,859

    Decompression error #3

    Hi all,

    I installed (using a SB Script) an .exe in C:\Program Files(x86)\MyApp\MyApp.exe

    MyApp.exe runs fine, it's not corrupted and not open by any user.

    A second SB Script should patch...
Results 1 to 18 of 18