Find architecture of system in Windows Installer -


i have application developed in c#. creating installer app using visual studio setup project.

while installation, want execute exe file differs 32 , 64 bit respectively. have use different file 32bit , 64bit.

for executing exe file, have added "custom action" , works also. said, exe file differs system architectire. how can knwo architecture in installer , execute respective file.

i tried following : check hkey_local_machine\software\wow6432node - if found returns "" , else returns "", of no use. versionnt - provides version, more concerned architecture.

how can achieve ? vbs can work or not ? don't know vbs, know can added action , set condition , little bit things that.

if @ create 32bit app detects architecture, how work out suring installation ?

any highly appreciated.

thanks

look @ second comment here: http://msdn.microsoft.com/en-us/library/ms724072%28vs.85%29.aspx


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -