cancel
Showing results for 
Search instead for 
Did you mean: 
jrahma
Pilgrim

auto unisntall and install

how can i do all the following without promting the user for any thing so everything will start and be completed once the user lunch the setup.exe file?

[LIST=1]
  • Unistall the previous version of the file excep the parmanent registry entries.
  • Install the current version.
  • Lunch the new version
  • Labels (1)
    0 Kudos
    4 Replies
    ChandanOmkar
    Pilgrim

    Re: auto unisntall and install

    What is your project type?
    You can achieve this using installscript using silent uninstall and then install
    0 Kudos
    jrahma
    Pilgrim

    Re: auto unisntall and install

    My setup project is a Basic MSI project
    0 Kudos
    Highlighted
    ChandanOmkar
    Pilgrim

    Re: auto unisntall and install

    Create a function for silent uninstall in installscript and call it in in custom action.
    use

    nResult = LaunchAppAndWait("Msiexec.exe", "/x {} /qn", LAAW_OPTION_WAIT);

    for silent uninstall.
    0 Kudos
    jrahma
    Pilgrim

    Re: auto unisntall and install

    any step-by-step?
    0 Kudos