paul_c
Posts: 2
Joined: Fri Feb 06, 2009 8:19 am

Re: failed to get the module path

Cosmin,

thank you for the prompt response. The attached files extracted into the AI folder did in fact fix the problem (application is launching correctly from under the Guest). This should conclude our eval and we will look to purchase enterprise edition - just need to make sure the patch is part of the 6.8 release we will download.

Regarding #1 above (permissions on empty folders). The workaround works for us, the only reason I brought it up is to point out that when Java app was built in 6.6 permissions were correctly assigned to empty folders and application worked fine. With 6.7.1 and 6.8 - permissions to empty folders were no longer assigned automatically and application stopped working as it needs to write files into those (i.e. one of them is "log" folder). From the diagnostic perspective (even though I understand from above Windows MSI is assigning permissions) there is something different in installations created in 6.7.1 and 6.8 (where permissions are not assigned) as compared to 6.6 (where permissions were propagated correctly). Not sure what the cause may be and it does not effect my build specifically, but if that is something within AI, then it could be potentially fixed in the next version.

Sincerely,
Paul
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: failed to get the module path

Hi Paul,
just need to make sure the patch is part of the 6.8 release we will download.
Unfortunately the modified Java Launcher was not included in the 6.8 version (we modified the launcher to late). However, it will be included in the next version. Until then, you can overwrite the launcher in the 6.8 version with the one I provided.
From the diagnostic perspective (even though I understand from above Windows MSI is assigning permissions) there is something different in installations created in 6.7.1 and 6.8 (where permissions are not assigned) as compared to 6.6 (where permissions were propagated correctly). Not sure what the cause may be and it does not effect my build specifically, but if that is something within AI, then it could be potentially fixed in the next version.
We will investigate this behavior and see if it's caused by Advanced Installer. Thank you for bringing this to our attention.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jfinley
Posts: 7
Joined: Thu Nov 05, 2009 6:50 pm

Re: failed to get the module path

Occasionally, my customers get this error, "failed to get the module path", using AI 8.0.2. In all cases it has manifested on Win 7 64. Is there a new bug in AI that is causing this?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: failed to get the module path

Hello,

I am not sure why you are encountering this behavior.

Can you please send us the .AIP (project) and the MSI that manifests the issue to support at advancedinstaller dot com so we can investigate them?
Also, it would be helpful if you would specify all the OSs on which the package shows the error.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gen022
Posts: 2
Joined: Sun Mar 20, 2011 2:08 pm
Location: Phils, Cavite
Contact: Yahoo Messenger

Re: failed to get the module path

I am using Advanced Installer program for my thesis, with pre - requisites Wamp server (for MySQL, PHP), JDK 1.6.24 (for compatibility issues with my NetBeans Project) and the JAR file of my system. It does not have any error for the first time I installed my program in my computer, however i only changed my codes in java using this

Code: Select all

String userDir = System.getProperty("user.dir") + "\\src\\LIBSYS_PACKAGE\\Reports\\" ;
and made a new installer to make my reports (in jasper reports - generated in XML) flexible with the location of the installation. I'm not sure if this makes the bug for that. In my opinion, it get's the applications directory (some what like App.path in vb).
gen022
Posts: 2
Joined: Sun Mar 20, 2011 2:08 pm
Location: Phils, Cavite
Contact: Yahoo Messenger

Re: failed to get the module path

I managed to fix that, however, I just wonder why Advanced installer makes '.exe' in the installed folder, and it did not add the folder in what I configured in packaging.
Since I am using batch scripts for additional folders (for my reports, now in a fixed location) needed in my system, it does not work the way I build it on NetBeans, the '.exe' program is called not my jar file.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: failed to get the module path

Hi and welcome to Advanced Installer Forums,
Since I am using batch scripts for additional folders (for my reports, now in a fixed location) needed in my system, it does not work the way I build it on NetBeans, the '.exe' program is called not my jar file.
This is happening because when installing your java application from the Java Products Page, Advanced Installer automatically creates a custom launcher for your application. Thus the .JAR is launched by the native launcher which has the name of your product and not by "java.exe".

For more information about Java features in Advanced Installer please follow this web page and this link to our user guide.

Best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Yoster
Posts: 10
Joined: Mon Oct 04, 2010 5:39 pm

Re: failed to get the module path

Hi everybody,
I as well encounter the error, "failed to get the module path". I use AI 8.1.3. This error appears after updating the built product or after uninstalling and reinstalling anew. Operating system: Win 7 64. By the way, if I (after installation) give administrator privileges to the exec file respectively to the shortcut, it works again. But that should not be the solution. Is there any solution?

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

Re: failed to get the module path

Hi Yoster,

Can you please upgrade to the latest version( 8.6 ) and see if the behavior persists?

If it does, please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them.

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

Return to “Common Problems”