tomcat rolling back action - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

tomcat rolling back action

hi all,
i've created a setup for my tomcat web app, everything seems cool during the installation, but before it finishes, i see that an action of "Rolling back" happens, so the shortcuts get deleted and the software get uninstalled,
i've consulted the InstallService customized action, i've only "InstallTomcatService" and "SetTomcatServiceStartType" , and under Uninstall i've "Remove_Catalina_Home"
any solution ?
thanks
r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Re: tomcat rolling back action

i guess that the error comes from this "disabled" rollback option right here in this picture: http://imagebin.org/196355
what's the solution ?
r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Re: tomcat rolling back action

here's what happen when my setup try to install my tomcat's service:
Action 17:51:35: InstallTomcatService.
MSI (s) (AC:60) [17:51:35:323]: Executing op: CustomActionSchedule(Action=InstallTomcatService,ActionType=1089,Source=BinaryData,Target=AI_AuthorSinglePackage,)
MSI (s) (AC:BC) [17:51:35:450]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIA90B.tmp, Entrypoint: AI_AuthorSinglePackage
CustomAction InstallTomcatService returned actual error code 1603 but will be translated to success due to continue marking
MSI (s) (AC:60) [17:51:35:545]: Executing op: ActionStart(Name=SetTomcatServiceStartType,,)
Action 17:51:35: SetTomcatServiceStartType.
MSI (s) (AC:60) [17:51:35:601]: Executing op: CustomActionSchedule(Action=SetTomcatServiceStartType,ActionType=3073,Source=BinaryData,Target=CreateExeProcess,CustomActionData=C:\Windows\system32\>sc.exe config myAppTomcat start= auto)
MSI (s) (AC:38) [17:51:35:656]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIAA25.tmp, Entrypoint: CreateExeProcess
OpenService ‚chec(s) 1060 :

the specified service does not exist as an installed service.


CustomAction SetTomcatServiceStartType returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 17:51:36: InstallExecute. Return value 3.
MSI (s) (AC:60) [17:51:36:321]: User policy value 'DisableRollback' is 0
MSI (s) (AC:60) [17:51:36:344]: Machine policy value 'DisableRollback' is 0
MSI (s) (AC:60) [17:51:36:379]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1077840683,LangId=1033,Platform=0,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (AC:60) [17:51:36:411]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (AC:60) [17:51:36:434]: Executing op: DialogInfo(Type=1,Argument=myApp)
MSI (s) (AC:60) [17:51:36:467]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,,CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 17:51:36: Rollback. Rolling back action:
1: SetTomcatServiceStartType
MSI (s) (AC:60) [17:51:36:545]: Executing op: ActionStart(Name=SetTomcatServiceStartType,,)
MSI (s) (AC:60) [17:51:36:568]: Executing op: ProductInfo(ProductKey={202959CB-2976-4E50-9A5A-F81E2DF9E312},ProductName=myApp,PackageName=myApp.msi,Language=1033,Version=16777216,Assignment=1,ObsoleteArg=0,ProductIcon=AssassinDoS2.0.3.exe,,PackageCode={CA937012-D63C-449D-A99E-7134A4ABEBDE},,,InstanceType=0,LUASetting=0,RemoteURTInstalls=0,ProductDeploymentFlags=3)
1: InstallTomcatService
MSI (s) (AC:60) [17:51:36:623]: Executing op: ActionStart(Name=InstallTomcatService,,)
1: Executing XML file configurations
MSI (s) (AC:60) [17:51:36:667]: Executing op: ActionStart(Name=AI_XmlConfig,Description=Executing XML file configurations,Template=Configuring XML file: "[1]")
1: Committing XML file configurations.
MSI (s) (AC:60) [17:51:36:712]: Executing op: ActionStart(Name=AI_XmlCommit,Description=Committing XML file configurations.,Template=Committing XML file configurations.)
1: Rolling back XML file configurations.
MSI (s) (AC:60) [17:51:36:767]: Executing op: ActionStart(Name=AI_XmlRollback,Description=Rolling back XML file configurations.,Template=Rolling back XML file configurations.)
MSI (s) (AC:60) [17:51:36:789]: Executing op: CustomActionRollback(Action=AI_XmlRollback,ActionType=11521,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (AC:68) [17:51:36:854]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIAEB8.tmp, Entrypoint: OnXmlRollback
1: Writing INI files values
r00t
Posts: 28
Joined: Thu Jan 26, 2012 7:03 pm

Re: tomcat rolling back action

up up
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: tomcat rolling back action

Hello ad welcome to Advanced Installer forums,

This could happen if your custom action doesn't have enough rights to execute properly. Please try to set it with a "Deferred, with no impersonation" execution option and see the outcome.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”