NigelShaw
Posts: 58
Joined: Wed Apr 01, 2015 12:45 am

Update Silent download NOT install

Hi

Im downloading an updated version of a file using the updater but the downloaded file isnt an exe, its a dll. I just need the file to download and replace the existing file in the folder but what happens is, it gets placed into a new folder of the new version instead eg. Version 1.2.0

How can i prevent this extra folder being created and instead, this file just getting downloaded to the root folder?

I had tried it before using the complete process but because its a dll, the install fails when it tries to install the file...


Thanks
NigelShaw
Posts: 58
Joined: Wed Apr 01, 2015 12:45 am

Re: Update Silent download NOT install

Hi

i resolved this in code. I was able to download the file only using /silentall -justdownload. This placed in in the version specific folder. I then ran some code to get the sub folder (its the only 1 there), move the downloaded file up a level then delete the folder


Thanks
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Update Silent download NOT install

Hello Nigel,

Thank you for your followup on this and for sharing your solution with us!

This for sure will be of help for further users facing a similar scenario.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”