Hi,

For a Windows 7 x64 deployment I repackeged GSview and GhostScript into one package with Wise Package Studio 8. I used the x64 installations.

Both software packages are installed in c:\program files during the snapshot. Afterwards I filtered out all crap and compiled the package. Finaly I started the MSI installation and noticed the installation path is changed to c:\program files (x86). I manually changed it to c:\program files\, but the installation files are copied to c:\program files (x86).

Any suggestion how to fix this?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
As far as I'm aware, if the binaries are 32-bit - irrespective of how the MSI is set up - Windows will always put them into the X86 folder.
Answered 03/18/2011 by: VBScab
Red Belt

Please log in to comment
0
On the machine where I repackaged the files, the files are located in the c:\program files\ folder.
Answered 03/18/2011 by: MARIN
Orange Senior Belt

Please log in to comment
0
...and that machine, I'd bet, runs Windows XP 32-bit?

Best practice is that one packages on the lowest common denominator OS, i.e. XP 32-bit.
Answered 03/18/2011 by: VBScab
Red Belt

Please log in to comment
0
Nope, it runs on Windows 7 64-bit
Answered 03/18/2011 by: MARIN
Orange Senior Belt

Please log in to comment
0
...and which executable did you use as the source?
Answered 03/18/2011 by: VBScab
Red Belt

Please log in to comment
0
In the directory table, are you using ProgramFiles64Folder? Even if the Platform is set to AMD64 in the Summary Information of the .msi it will still place the installation files to C:\Program Files (x86) if you're using ProgramFilesFolder in the directory table.

ProgramFilesFolder TARGETDIR .:ProgramF|Program Files
ProgramFiles64Folder TARGETDIR .:ProgramF|Program Files <- must be used to install to C:\Program Files\ on x64.

It does not matter if the source executable is 32bit or 64bit, the directory table controls where the files are placed.

I may be wrong here but technically I don't think it matters whether a 64bit application is installed to C:\Program Files (x86) or C:\Program Files\, it's just a way to seperate 32 and 64bit applications for organizational purposes in case you have two versions of the same application. 32bit applications still use the 32bit emulator (WOW64) at launch regardless of which Program Files folder it's stored in.
Answered 03/18/2011 by: dreyer
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity