msiexec: Ignore the TRANSFORMS variable.

Ignore the TRANSFORMS variable when building a list of transforms for
advertising.  The variable is used to apply transforms when installing.
This commit is contained in:
Mike McCormack 2006-01-04 14:51:42 +01:00 committed by Alexandre Julliard
parent e534e7726b
commit 3d2de3d562
1 changed files with 1 additions and 6 deletions

View File

@ -452,7 +452,6 @@ int main(int argc, char **argv)
DWORD RepairMode = 0;
DWORD AdvertiseMode = 0;
LPWSTR Transforms = NULL;
struct string_list *transform_list = NULL;
LANGID Language = 0;
@ -658,10 +657,6 @@ int main(int argc, char **argv)
WINE_TRACE("argvW[%d] = %s\n", i, wine_dbgstr_w(argvW[i]));
StringListAppend(&transform_list, argvW[i]);
}
else if(!msi_strprefix(argvW[i], "TRANSFORMS="))
{
StringListAppend(&transform_list, argvW[i]+11);
}
else if(!msi_strequal(argvW[i], "/g"))
{
i++;
@ -858,7 +853,6 @@ int main(int argc, char **argv)
MsiSetInternalUI(InstallUILevel, NULL);
Properties = build_properties( property_list );
Transforms = build_transforms( transform_list );
if(FunctionInstallAdmin && FunctionPatch)
FunctionInstall = FALSE;
@ -880,6 +874,7 @@ int main(int argc, char **argv)
}
else if(FunctionAdvertise)
{
LPWSTR Transforms = build_transforms( property_list );
ReturnCode = MsiAdvertiseProductW(PackageName, (LPWSTR) AdvertiseMode, Transforms, Language);
}
else if(FunctionPatch)