dhaval0129
Posts: 34
Joined: Mon Jul 22, 2013 7:19 pm

Error checking if folder exists

Hi,

I was following my previous post from your forum. I am doing the same steps that you mentioned and I am getting the error as attached in screen shot. Could please let me know what step might be missing.

Reference: http://www.advancedinstaller.com/forums ... hp?t=26253

Regards
Dhaval Joshi
Attachments
adv-inst.jpg
adv-inst.jpg (299.3 KiB) Viewed 9759 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error checking if folder exists

Hi Dhaval,

This problem may appear if the "Create folder on target machine" option is enabled for your property-based folders from the "Files and Folders" page or if an appropriate condition is not set for their files' related components from the "Organization" page.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dhaval0129
Posts: 34
Joined: Mon Jul 22, 2013 7:19 pm

Re: Error checking if folder exists

I had followed same steps in older version of advanced installer it worked. BTW I have same condition in project which was build on with older version of advanced installer. There is no difference between the older project and newer project. why does it not work with newer version of advanced installer. I am attaching two aip files for the reference
Attachments
ClarityUpdater.aip
(118.77 KiB) Downloaded 658 times
ClaritySecurityPatch.aip
(22.63 KiB) Downloaded 542 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error checking if folder exists

Hi Dhaval,

The difference between the two projects is that in the new one, a default value is set in the "Install Parameters" page for the properties related to the property-based folders. In this case, if no path is not found by the searches, the installer will try to access those default values, but it will fail as they are not valid paths.

In order to remove those default values, you need to first remove the properties' related searches and folders, then first create the searches, then the property-based folders based on those searches.

However, please keep in mind that if those searches do not find any value and the conditions for the folders are true, they will be created in the Windows Volume with the name of their related properties (e.g. C:\MY_PROP).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dhaval0129
Posts: 34
Joined: Mon Jul 22, 2013 7:19 pm

Re: Error checking if folder exists

Hi,

I tried to follow the process you mentioned still getting same error. Could you please let me know how can I get it working

Thanks
Dhaval Joshi
Attachments
ClaritySecurityPatch.aip
(22.37 KiB) Downloaded 530 times
dhaval0129
Posts: 34
Joined: Mon Jul 22, 2013 7:19 pm

Re: Error checking if folder exists

Guys,

Any thoughts how can overcome this issue or if there any kind of work around in the newer version ? I am using Advanced Installer 13.7

Regards
Dhaval Joshi
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error checking if folder exists

Hi Dhaval,

The new project that you attached did not contain the changes I mentioned in my previous post. I done them in your project and attached it to this post, so you can test it.

Just let me know if the problem persists.

Best regards,
Eusebiu
Attachments
ClaritySecurityPatch Modified.aip
(22.26 KiB) Downloaded 552 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dhaval0129
Posts: 34
Joined: Mon Jul 22, 2013 7:19 pm

Re: Error checking if folder exists

Thanks, aip that you created worked for me, but now I am getting different error. check the screen shot attachment with the post.
Attachments
Error.jpg
Error.jpg (46.91 KiB) Viewed 9721 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error checking if folder exists

Hi Dhaval,

This error is displayed in a custom action fails during the installation of the package. Please create a verbose log of the installation to get more details about the problematic custom action.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dhaval0129
Posts: 34
Joined: Mon Jul 22, 2013 7:19 pm

Re: Error checking if folder exists

Thanks, I was able to resolve the error using verbose logging but It keeps giving message about enterprise license which I think I do not need. My previous installers all worked with Java License which I had for my advanced installer. Attaching screen shot for more information.

Please let me know if you need more information
Attachments
enterprise.jpg
enterprise.jpg (37.54 KiB) Viewed 9713 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error checking if folder exists

You're welcome Dhaval. I'm glad you solved the problem.

That dialog may be displayed if you created an "Enterprise" project, but you have a Java version of Advanced Installer. In this case, I'm afraid that in order to get rid of that message you need to recreate the project using the "Java Application" template.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
dhaval0129
Posts: 34
Joined: Mon Jul 22, 2013 7:19 pm

Re: Error checking if folder exists

Thanks! for your help. It works now.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error checking if folder exists

You're welcome Dhaval. I'm glad you got this working.

Just let us know if you encounter other problems.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”