System Directory

Got a problem you cannot solve? Try here.
Ram
Posts: 2
Joined: Fri Jul 22, 2016 1:30 am

System Directory

Postby Ram » Fri Jul 22, 2016 1:40 am

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

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: System Directory

Postby bokkie » Fri Jul 22, 2016 2:29 am

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.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

Ram
Posts: 2
Joined: Fri Jul 22, 2016 1:30 am

Re: System Directory

Postby Ram » Fri Jul 22, 2016 3:11 am

Thanks a lot


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 100 guests