silent unisntall with st6unst then silent install a setup bootstrap for visual basic setup toolkit FAIL

Comments

6 comments

  • Bouma, Colby

    Please post screenshots of your package steps. This should work.

    0
    Comment actions Permalink
  • Mathieu Racine





    0
    Comment actions Permalink
  • Bouma, Colby

    Try separating your parameters

    /s c:\eesinstall.log
    0
    Comment actions Permalink
  • Stephen Valdinger

    Typically writing to the root of C:\ requires you to enter admin credentials in an UAC prompt if the user isn't an admin of the machine. Is there another directory you could write that logfile too?

    0
    Comment actions Permalink
  • Mathieu Racine

    @Colby, tried with and without space, all run as modes, don'T work

    @Stephen, all of my computer have the deploy user as a domain admin on the machine.

     

    Like I explained in the original post, it works flawlessly with the run as admin cmd prompt running those 2 line :

    install silently : C:\Users\xxx\Desktop\xxx\setup.exe /sc:\abcd.log
    uninstall silently : %systemroot%\st6unst.exe -n "C:\Program Files (x86)\xxx\st6unst.log" -f -q

     

     

    0
    Comment actions Permalink
  • Mathieu Racine

    Okay, found a solution that worked like a charm...

    With the help of the PDQ Support team, decided to try and script this instead and see if the results were different.

    So, created a package that copies over the installation files to some directory like C:\Temp\xxx\ on the target machines.

    Next, created a simple batch script that runs the commands :

    @echo off
    c:\temp\xxx\setup.exe /sc:\temp\ees\123456.log

    This worked like a charm.

    After, I created a step for uninstallation, before the 2 other steps.

    It failed at first, but tried to do a batch file with the line of code:

    @echo off
    %systemroot%\st6unst.exe -n "C:\Program Files (x86)\xxx\st6unst.log" -f -q

    This failed with error code 1.

    Added code 1 to the success codes and now have a working uninstall and installation deployment!

    Thanks again for your help!!!! We did it !!!

    0
    Comment actions Permalink

Please sign in to leave a comment.