My boss needs an installer to setup software onto one of our client's machines. He wants the software to be installed specifically into "C:\Program Files\HisApplicationName", not "C:\Program Files (x86)\HisApplicationName". I know the correct answer would be to rewrite the software to accomodate any directory the user chooses to install to, but unfortunately, this is very old sofware & needs to be installed tomorrow, so we just want to force the installer to point to the client's "Program Files" directory.
My problem though, is when I hardcode the filepath into the installer's "DefaultLocation" property, the installer still tries to point to the Program Files (x86) directory instead.
Is there any way to force the windows setup/installer package to point to Program Files & not "Program Files (x86)"?
Thanks.