Page 1 of 1

Changing of Destination folder Path

Posted: Fri Sep 26, 2025 3:58 am
by joffjoff
Hi,
I install X17 version but I had same problem with X12.
If I not add anything from Application Runtimes list when the setup is created appear like Destination folder C:\Program Files and this is what I want

If i add something like ASP.NET Core 9.0 x64 after build in the setup the destination folder change in C:\Program Files (x86), but this position is wrong

Which is the right mode to avoid this situation?

Thanks

Re: Changing of Destination folder Path

Posted: Fri Sep 26, 2025 6:09 am
by JohnGaver
This topic also applies to InstallAware Multi Platform.

Sounds to me like your application runtime is turning 64-bit installation mode off.

Just ensure your setup is in 64-bit mode before your main script starts executing/initializing your target directory variables, and you should be good to go.

The Set 64-bit Mode command is your friend.

Re: Changing of Destination folder Path

Posted: Fri Sep 26, 2025 8:08 am
by joffjoff
Hi,
yes setup have 64bit operating system checked and also Administrator privileges

Re: Changing of Destination folder Path

Posted: Fri Sep 26, 2025 3:59 pm
by JohnGaver
That checkmark may not be enough as the runtime scripts may reset it after, so you will need to add the command to your script in the code view after the runtimes block has finished running.