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!

ittim
Posts: 29
Joined: Mon Aug 22, 2016 1:36 pm

Trouble with a simple build - cannot find file error

Hi, so i'm a bit of a newbie at this, i've done some simple installs to use internally and they've always worked well (they we're deployed to a custom folder)

I now need to setup a build that will go public.

I've got two files I need to install, the .exe and a dll which needs to be in the same dir as the .exe

If I deploy it to (for example) the documents folder the .exe works and opens perfectly.

if I deploy it to the folder I want (ie program files) I get this error when I try to run the installed .exe "The specified file was not found"

Does anyone have any idea where I should be looking in order to resolve it?
Thanks
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Trouble with a simple build - cannot find file error

Hi and welcome to Advanced Installer forums.

I'm not sure why you encounter this problem. Are you sure that the file your EXE needs exists at the path it is searched? If so, please make sure that your application has the necessary permissions to access that file.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ittim
Posts: 29
Joined: Mon Aug 22, 2016 1:36 pm

Re: Trouble with a simple build - cannot find file error

I think i've solved it, turns out that the dll was causing trouble, once i set the .exe to run as administrator it seemed to resolve it.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Trouble with a simple build - cannot find file error

Hi,

I'm glad you got this working. Just let us know anytime you need help.

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

Return to “Building Installers”