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!

ehardin
Posts: 85
Joined: Fri Jul 13, 2007 8:10 pm

COMMONAPPDATA sometimes to All Users.WINDOWS sometimes to All Users

I am testing a 32 bit application on Windows XP machines. I have Advanced Installer Installation Type set to “per machine if user is administrator; per user otherwise”.

On the two Windows XP Service Pack 3 machines I am logged in as myself and I am configured to be a member of the Administrator Group. On one machine COMMONAPPDATA goes to Documents and Settings\All Users\ and on the other machine it goes to \All Users.WINDOWS.

Why would Windows decide to put the csidl_commonappdata in one directory on one machine and in another directory on a second. I can't tell what could possibly be the difference between the machines that would account for different csidl_commonappdata directories.

Any ideas?

Ed
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: COMMONAPPDATA sometimes to All Users.WINDOWS sometimes to All Users

Hi Ed,

At runtime, Windows Installer sets the CommonAppDataFolder property to the full path to the file directory containing application data for all users.

For details, please check the CommonAppDataFolder property article.

Can you please try to test this on several clean machines? Also, what is the Windows Installer version installed on the related OSs?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”