Problem with service started after a .jar updating - 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!

cmbourqu
Posts: 17
Joined: Tue Dec 18, 2007 9:19 pm

Problem with service started after a .jar updating

Hi!
I got a very special behavior…
I have been built a “Java Application” project that install and start a java application in Windows service mode.

Now, I discovered something of very, very special…. I modify my .jar (updated). I use the same Java Application to rebuild my new service. The installation run perfectly, e.g. no error, start the service without error too, install the new stuff at the place I want (the good stuff then I’m able to run manually my new jar with a .bat call and that the new version that is running). HOWEVER, the version run by the Windows Service is always the older (the previous version)….

I should rebuild a new “Java Application” (.aip) to be able have the good Windows Service e.g. the one that he’s able to run my new stuff in my new .jar version.

Do you have any idea that I don’t do correctly?

Thanks a lot!
:(
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Can you please specify the exact steps you took for upgrading the installation? (modify the service file, rebuild the MSI package with the new file etc.)

Also, when you double-click the installed Java Launcher what version of your application is launched? (the old one or the new one)

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cmbourqu
Posts: 17
Joined: Tue Dec 18, 2007 9:19 pm

I just compile a new .jar and put in in the directory used to build the new .MSI. After I press on the "Build" button (the software detect a new data: good because I have a new .jar). Just that.

This morning, I build a new project (.aip) and, for now, the problem is not yet appears.. I delete the .MSI file and ...-cache forder before rebuild.

I know that a very special problem... I will strongly check my new project I give you more information about that. I just wanted to know if you have ever been that.

My version is: 6.1.1

Thanks!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,
I just wanted to know if you have ever been that.
I'm afraid that none of our users encountered this behavior before.
Let me know if the problem persists of if you encounter other problems.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cmbourqu
Posts: 17
Joined: Tue Dec 18, 2007 9:19 pm

I understand you!
I check that and give feedback.

Best regards,

Charlotte

Return to “Common Problems”