New installation of MP2 A4 fails on Win 7 pro. x64 with error: "String cannot be of zero length" (1 Viewer)

hakantheb

New Member
October 26, 2010
3
0
Home Country
Sweden Sweden
Well as the log say. What can the problem be with my system?

Action start 6:02:24: PrepareXmlPathVariables.
SFXCA: Extracting custom action to temporary directory: C:\Users\Oldage_2\AppData\Local\Temp\MSI7BDF.tmp-\
SFXCA: Binding to CLR version v4.0.30319
Calling custom action CustomActions!CustomActions.CustomActions.PrepareXmlPathVariables
Exception thrown by custom action:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: String cannot be of zero length.
Parameter name: oldValue

at System.String.ReplaceInternal(String oldValue, String newValue)
at System.String.Replace(String oldValue, String newValue)
at CustomActions.CustomActions.PrepareXmlPathVariables(Session session, String cs, IEnumerable`1 pathLabels)
at CustomActions.CustomActions.PrepareXmlPathVariables(Session session)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)
CustomAction PrepareXmlPathVariables returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 6:02:24: PrepareXmlPathVariables. Return value 3.
Action ended 6:02:24: INSTALL. Return value 3.
Action ended 6:02:24: ExecuteAction. Return value 3.
Action 6:02:24: FatalError.
 
Last edited:

Users who are viewing this thread

Top Bottom