adarshj
Posts: 5
Joined: Wed Aug 16, 2023 6:11 am

Why does updater install new application in ProgramFiles(x86)?

Hi,

I previously asked a question about why my application is not auto restarting after an update viewtopic.php?f=2&t=51595.

I've figured out the reason, when my install type is a 64-bit package and when I do an install it installs my application in C:\ProgramFiles but when I run the updater it installs my application into C:\ProgramFiles (x86). Hence the application never restarted even though I set the value [APPDIR]Application.exe to auto restart in Auto Close Applications.

When I do the inital install in Program Files (x86), the the application is automatically restarted correctly after an updater.

My question is why does the updater install the files in Program Files (x86)? Can I make it install in Program Files, so the application can auto restart?

Thanks!
Liviu
Posts: 1273
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Why does updater install new application in ProgramFiles(x86)?

Hello,

This is quite strange. The updater does not select the location of the new version, it just launches the second version setup package. The second package sets the path.

Can you please send us by email to support at advancedinstaller dot com so we can further test and investigate this, the following resources:

1. the .AIP (setup project) file for your old version.
2. the .AIP (setup project) file for your new version.
3. an installation log of the upgrade process.

Also, as a workaround, you can launch your application from the new version by using a Launch File custom action. For more details please check the How to launch a file after an installation
article (step 2).

Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
adarshj
Posts: 5
Joined: Wed Aug 16, 2023 6:11 am

Re: Why does updater install new application in ProgramFiles(x86)?

Hi Liviu,

Thanks for explaining to me how the updater works. It made me realise the mistake I was making. The second package was a 32 bit install, hence the issues! All works when I use 64-bit consistently across the board.

Thanks for your help!

Cheers,
Adarsh
Liviu
Posts: 1273
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Why does updater install new application in ProgramFiles(x86)?

You're always welcome, Adarsh!

It's great to hear that everything is now working as expected.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”