[wix-users] Non-Silent MSU package instalaltion

Farrukh Waheed farrukh1 at gmail.com
Wed Sep 21 21:30:23 PDT 2016


from Wix3.10 source, in msuengine.cpp, Is this the code, executing wusa.exe
command line with /quiet???

        hr = StrAllocFormatted(&sczCommand, L"\"%ls\" \"%ls\" /quiet
/norestart", sczWusaPath, sczMsuPath);
        ExitOnFailure(hr, "Failed to format MSU install command.");
        break;

    case BOOTSTRAPPER_ACTION_STATE_UNINSTALL:
        // format command
        hr = StrAllocFormatted(&sczCommand, L"\"%ls\" /uninstall /kb:%ls
/quiet /norestart", sczWusaPath,
pExecuteAction->msuPackage.pPackage->Msu.sczKB);
        ExitOnFailure(hr, "Failed to format MSU uninstall command.");
        break;


On 22 September 2016 at 09:15, Farrukh Waheed <farrukh1 at gmail.com> wrote:

> Hi
> I have a situation in which I have to install an msu
> (Windows6.1-KB2670838) package but showing the user its installation
> interface i.e. the one wusa.exe shows. Burn installs msu packages silently
> by default.
>
> If it is not possible to install msu packages non-silently, can I use
> ExePackage to call wusa.exe and pass msu package as parameter?
>
> Regards
>


More information about the wix-users mailing list