Iangb
Posts: 2
Joined: Wed Apr 26, 2023 6:34 pm

Folders are still going to APP DIR

Wed Apr 26, 2023 7:28 pm

Hi, people!

I am building an installer for a game, and set the files to go to "C:\Program Files (x86)\Company name\Game name". The problem is that my saved games still are going to some folder inside APPDIR (or APP Data) folder. How do I change that and make my folders go to the folder mentioned above? How do I retire the authority of APP DATA (APP DIR)?

Thanks!

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Folders are still going to APP DIR

Thu Apr 27, 2023 10:31 am

Hello and welcome to our forums,

I'm not sure why this happens.

Does this happens during an upgrade or a first time installation?

Can you please send us the .AIP (setup project) file and an installation log by email to support at advancedinstaller dot com so we can further test and investigate this?

You can create an installation log by launching your setup package with a command line like this:

Code: Select all

msiexec /i setup.msi /L*V "D:\installLog.txt"
when using an MSI package type, or a command like this

Code: Select all

setup.exe /L*V "D:\installLog.txt"
when using an EXE package type.

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

Iangb
Posts: 2
Joined: Wed Apr 26, 2023 6:34 pm

Re: Folders are still going to APP DIR

Thu Apr 27, 2023 4:37 pm

Hey, Liviu, thanks for your reply.
Does this happens during an upgrade or a first time installation?
This happens during the first time installation. When I first launch the game, it will create a directory in "AppData", the path goes like this:

C:\Users\USER\AppData\Local\VirtualStore\Program Files (x86)\3DO
Can you please send us the .AIP (setup project) file and an installation log by email to support at advancedinstaller dot com so we can further test and investigate this?
Sure, I'll do that.
Where do I put that code you mentioned? How do I do that?

Thanks!!

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Folders are still going to APP DIR

Fri Apr 28, 2023 9:32 am

Hello,
Where do I put that code you mentioned? How do I do that?
Please have a look at the How do I create an installation log?
article.

You just need to open a Command Prompt (cmd.exe) and use the command line provided above.

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

Return to “Building Installers”