FGump
Posts: 65
Joined: Thu Jan 05, 2006 7:23 pm

Install files to correct System folder?

I have an old 32-bit application (created for Windows XP) that is installed via an old Wise setup EXE. I'm having to rebuild this into a new MSI setup using Advanced Installer. All I have is the files and where they go which I was able to obtain using UniExtractor. I can see that the old setup installs files into the Windows\System and Windows\System32 folders. These days the Windows\System folder doesn't exist, so would I install the files as follows:

- Assuming we're installing to Windows 7 x86 (32-bit) - is it okay to install all the old Windows\System AND Windows\System32 files into the Windows\System32 folder?
- Assuming we're installing to Windows 7 x64 (64-bit) - is it okay to install all the old Windows\System AND Windows\System32 files into the SysWoW64 folder?

Lastly, how can I determine what the version of the destination OS is (x86 or x64) in Advanced Installer and then correctly install the files into the correct System folder (System32 or SysWoW64)?

Thank you very much for your time and assistance.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Install files to correct System folder?

Hello,

The System folder used on older Windows versions contained 16 bits versions of system files. Please take a look on our article regarding Paths of the folders in the "Files and Folders" Page
You could install the content of System in System 32.
Lastly, how can I determine what the version of the destination OS is (x86 or x64) in Advanced Installer and then correctly install the files into the correct System folder (System32 or SysWoW64)?
You should place your files in "System folder" in "Files and folders" page. The path will be resolved at install time, based on the machine type.

When a 32-bit application writes or reads a value under the" C:\Windows\System32" directory , the application reads from the "C:\Windows\SysWOW64" directory on a 64-bit operating systems.

Their 32-bit counterparts are resolved to redirected locations as follow:

"ProgramFilesFolder - C:\Program Files (x86)\"
"CommonFilesFolder - C:\Program Files (x86)\Common Files\"
"SystemFolder - C:\Windows\SysWOW64\"

This is the default behavior of Windows Installer.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FGump
Posts: 65
Joined: Thu Jan 05, 2006 7:23 pm

Re: Install files to correct System folder?

@Sorin - Thank you very much! I've got the files in the correct place and have tested the install, however it's not working quite yet. It's an old app and uses MSJET 3.5 and MSJET 4.0 along with DAO35, etc. I wish I had the merge modules for MSJET40 and others, but have searched everywhere to find them! I can only find the MSJET35.msm. I read where InstallShield created some of those a while back, but I can't find/download them anywhere. It would be great if Advanced Installer included or had a place to download old & new merge modules. Any recommendations where I can find these as I believe it would help to make sure all the dependencies for the install are present (installed correctly). Thank you again.

Kind Regards
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Install files to correct System folder?

You are welcome!

Unfortunately we don't have a copy of the merge modules you need.
Please let me know if you have any other questions.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”