cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Tobias79
Level 5

XML File Changes: The wizard was interrupted before APPLICATION could be...installed

Hello,

I get in my setup the following problem when I build and run an installation with XML File Changes: The Dialog "The wizad was interrupted before APPLICATION could be completely installed. appears.

I'm doing the following approach to import a XML-Config and modify it:
[Installation Designer]
System Configuration -> XML File Changes
View Filter set to a component
XML Files Contextmenu Import ...
Next>
Browse for web configuration folder xxx.exe.config and open it
Next>
Import
Finish

Afterwards just build the installation without further modifications and the test shows the appended error dialog

Verbose logging says

[CODE]MSI (s) (B4:3C) [16:57:25:238]: Doing action: ISXmlCosting
Action 16:57:25: ISXmlCosting.
Action start 16:57:25: ISXmlCosting.
MSI (s) (B4:4C) [16:57:25:254]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSID0.tmp, Entrypoint: ISXmlCosting
Action 16:57:25: Progress Custom Action.
Action ended 16:57:26: ISXmlCosting. Return value 3.
MSI (s) (B4:3C) [16:57:26:035]: Machine policy value 'DisableRollback' is 0
MSI (s) (B4:3C) [16:57:26:035]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (B4:3C) [16:57:26:035]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (B4:3C) [16:57:26:035]: Calling SRSetRestorePoint API. dwRestorePtType: 13, dwEventType: 103, llSequenceNumber: 18, szDescription: "".
MSI (s) (B4:3C) [16:57:26:051]: The call to SRSetRestorePoint API succeeded. Returned status: 0.
MSI (s) (B4:3C) [16:57:26:051]: Unlocking Server
Action ended 16:57:26: INSTALL. Return value 3.[/CODE]

Any ideas ?

Regards,
Tobias
Labels (1)
0 Kudos
(6) Replies
Tobias79
Level 5

For another package without further features it works ?!?!

[CODE]MSI (s) (B4:68) [17:18:36:801]: Doing action: ISXmlCosting
Action 17:18:36: ISXmlCosting.
Action start 17:18:36: ISXmlCosting.
MSI (s) (B4:7C) [17:18:36:848]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSID5.tmp, Entrypoint: ISXmlCosting
MSI (s) (B4:0C) [17:18:36:848]: Generating random cookie.
MSI (s) (B4:0C) [17:18:36:942]: Created Custom Action Server with PID 3692 (0xE6C).
MSI (s) (B4:88) [17:18:37:020]: Running as a service.
MSI (s) (B4:58) [17:18:37:020]: Hello, I'm your 32bit Impersonated custom action server.
Action 17:18:37: Progress Custom Action. Costing XML files...
MSI (s) (B4!F0) [17:18:37:707]: PROPERTY CHANGE: Adding ISXmlCosting property. Its value is 'C:\DOCUME~1\test\LOCALS~1\Temp\XMLD6.tmp'.
MSI (s) (B4!F0) [17:18:37:707]: PROPERTY CHANGE: Adding ISXmlInstall property. Its value is 'C:\DOCUME~1\test\LOCALS~1\Temp\XMLD6.tmp'.
MSI (s) (B4!F0) [17:18:37:707]: PROPERTY CHANGE: Adding ISXmlUnInstall property. Its value is 'C:\DOCUME~1\test\LOCALS~1\Temp\XMLD6.tmp'.
MSI (s) (B4!F0) [17:18:37:707]: PROPERTY CHANGE: Adding ISXmlRollback property. Its value is 'C:\DOCUME~1\test\LOCALS~1\Temp\XMLD6.tmp'.
MSI (s) (B4!F0) [17:18:37:707]: PROPERTY CHANGE: Adding ISXmlFinalize property. Its value is 'C:\DOCUME~1\test\LOCALS~1\Temp\XMLD6.tmp'.
Action ended 17:18:37: ISXmlCosting. Return value 1.[/CODE]
0 Kudos
porsonw
Level 2

Tobias97

Have you managed to get the problem solved? I am facing the same problem here and couldn't find out the solution yet.

Anyone! Please help...
😞
0 Kudos
Tobias79
Level 5

Hi,

Yes I solved the problem by a CA doing a replacement of two placeholders for the strings to substitute. It's just a workaround but working for this installation.

Tobias
0 Kudos
rowbot
Level 2

Hi Tobias79,

I don't quite understand your workaround... (using a CA etc..)

Can you elaborate on your fix?

Thanks,
0 Kudos
kstan182
Level 3

Tobias79, could you please let us know how you fixed this? :confused:

I'm getting the same error, here is the verbose log:

Action start 17:12:11: InstallInitialize.
MSI (s) (48:C8) [17:12:11:890]: Doing action: ISXmlCosting
Action ended 17:12:11: InstallInitialize. Return value 1.
MSI (s) (48:14) [17:12:11:906]: Invoking remote custom action. DLL: C:\WINNT\Installer\MSI42.tmp, Entrypoint: ISXmlCosting
Action start 17:12:11: ISXmlCosting.
MSI (s) (48:C8) [17:12:12:390]: Machine policy value 'DisableRollback' is 0
MSI (s) (48:C8) [17:12:12:390]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
Action ended 17:12:12: ISXmlCosting. Return value 3.
MSI (s) (48:C8) [17:12:12:390]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (48:C8) [17:12:12:390]: Unlocking Server
Action ended 17:12:12: INSTALL. Return value 3.
0 Kudos
Tobias79
Level 5

Sorry for the late response. I didn't pay attention to this thread anymore. Here is the hopefolly better described workaround:

I install e.g. the following XML file in InstallFiles Sequence:

[CODE]
Basic bread

[STRING_TO_REPLACE_1]
[STRING_TO_REPLACE_2]

[/CODE]

Then I run a CA to replace the two unique strings [STRING_TO_REPLACE_1] and [STRING_TO_REPLACE_2] with the desired strings e.g. with the command line tool SED (http://en.wikipedia.org/wiki/Sed) with e.g. the following calls:
[CODE]sed -e 's/[STRING_TO_REPLACE_1]/[REPLACEMENT_STRING_1]/g' XMLFileName > XMLFileName
sed -e 's/[STRING_TO_REPLACE_2]/[REPLACEMENT_STRING_2]/g' XMLFileName > XMLFileName [/CODE]
So this leads to the desired resulting xml file
[CODE]
Basic bread

[REPLACEMENT_STRING_1]
[REPLACEMENT_STRING_2]

[/CODE]
0 Kudos