class path in ini missing after reinstall - 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!

ajfinche
Posts: 3
Joined: Mon Feb 13, 2012 12:28 pm

class path in ini missing after reinstall

Hey guys, I'm using Version 8.8.2 - Java module. I've created a installation package and everything installs fine. The ini which is generated correctly states the class path for the main method. When I uninstall through Control Panel various files are deleted (not my .jar for some reason) including the .ini. The uninstall leaves the jar and 2 .xml files I want to keep and obviously any associated folders. If I now reinstall using the same .msi or a later one the new .ini is not generated correctly. The Class path attribute is set as follows:

[Class Path]
Class Path=;

The only way I can get this to work is to manually delete all the files after the uninstall and then do the install.

Any guidance would be appreciated.
ajfinche
Posts: 3
Joined: Mon Feb 13, 2012 12:28 pm

Re: class path in ini missing after reinstall

Think I've partially resolved this. My jar had somehow got added to a different component in the Features and Component screen and I had set Permanent & Never overwrite on it. I moved this out on its own and removed those attributes and now the class path is set properly again. However I would expect the jar to be deleted on the uninstall still but it isn't. Any ideas on this?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: class path in ini missing after reinstall

Hello,

That file may have become corrupted. In this case it must be manually repaired or deleted. You can check the uninstallation verbose log for specific details.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ajfinche
Posts: 3
Joined: Mon Feb 13, 2012 12:28 pm

Re: class path in ini missing after reinstall

Thanks for reply. There is nothing wrong with the file. The jar has been rebuilt numerous times. I have done some testing and if I create a new folder and put the jar in this it does get removed on the uninstall.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: class path in ini missing after reinstall

Is the behavior persisted on multiple clean testing machines? If so, please create a verbose log and sent it to us.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”