copy folder in common folder 32 or 64 bit - Advanced Installer Community
meysam
Posts: 31
Joined: Fri Feb 27, 2015 11:23 am

copy folder in common folder 32 or 64 bit

my Supported package types is Supported package types

i want copied one folder in common folder and i want For Type "32-bit OS" or "64-bit OS" this folder copied in :
C:\Program Files\Common Files
or
C:\Program Files (x86)\Common Files

how doing this?
Attachments
Capture2.PNG
Capture2.PNG (15.67 KiB) Viewed 3119 times
Capture.PNG
Capture.PNG (11.7 KiB) Viewed 3119 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: copy folder in common folder 32 or 64 bit

Hi,

To achieve this, you can go in the "Files and Folders" page and place your files in the "Program Files 64 -> Common Files 64" folder for a 64-bit machine. That folder will be resolved to "C:\Program Files\Common Files" on a 64-bit machine.

Also, copy and past those files in the "Program Files -> Common Files" folder for a 32-bit machine. That folder will bi resolved to "C:\Program Files\Common Files" on a 32-bit machine.

Then you need to go to all those files related components from the "Organization" page and set conditions for those components, so that the files placed in the 64-bit folder will be installed only on the 64-bit machines (i.e. VersionNT64) and the files placed in the 32-bit folder will be installed only on the 32-bit machines (i.e. NOT VersionNT64).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
meysam
Posts: 31
Joined: Fri Feb 27, 2015 11:23 am

Re: copy folder in common folder 32 or 64 bit

sorry

i wrong in question.
because my scenario is:

1- if os type is 32 bit : my folder must copy to c:\Program Files\common Files
2- if os type is 64 bit : my folder must copy to c:\Program Files (x86)\common Files


In other words i don't need common file 64.

I apologize. plesase help me

best regards
meysam
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: copy folder in common folder 32 or 64 bit

Hi Meysam,

In this case you only need to place your files in the "Program Files -> Common Files" folder without setting any condition for them.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”