Share

AcTcStockTool::SetModuleInstallArguments

C++

BOOL SetModuleInstallArguments(
    LPCTSTR pszString
);

Description

Sets the commandline options of msiexec.exe that are used during the installation of the stock tool MSI file. Do not specify the /i and /p flags in the arguments, because these flags are added by the application, depending on the extension of the URL. For MSP files, the application adds the /p flag; for MSI files, the application adds the /i flag.

The application uses the module install URL and arguments for stock tool installation as in the following example:

Msiexec.exe /i <url> <Arguments>
Msiexec.exe /i http://pointa.autodesk.com/tools.msi /l* msi.log
Msiexec.exe /p http://pointa.autodesk.com/tools.msp /l* msi.log

If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.

Parameters

Parameters Description
pszString Input pointer to a null-terminated string specifying the commandline options of msiexec.exe that are used during the installation of the stock tool MSI file

Links

AcTcStockTool

Was this information helpful?