Page 1 of 1

System Directory

Posted: Fri Jul 22, 2016 1:40 am
by Ram
How can I fetch System directory?
If the system under installation is 32 bit, then I should get "C:/windows/System32" or if it is 64bit, then I should get "C:/Windows/SysWoW64".

I want to register mscomctl.ocx

Pls let me know how to go about?

Thanks in Advance

Re: System Directory

Posted: Fri Jul 22, 2016 2:29 am
by bokkie
Add a Get Folder Location statement to your MSIcode. Select the System->System Directory item from the folder pulldown and return its value in a variable. That'll give you the information you're looking for.

Re: System Directory

Posted: Fri Jul 22, 2016 3:11 am
by Ram
Thanks a lot