Hello Akhan
Well it looks kinda like the way that I do it
can I ask whats wrong with it?? why you would look for something else?
>Hello
>
>
>if not file('c:\windows\system\comctl32.ocx')
> file1=drvone+'beta_costdata\costdata\comctl32.ocx'
> file2=drvone+'beta_costdata\costdata\msacal70.ocx'
> run /n c:\windows\system\regsvr32 &file1
> run /n c:\windows\system\regsvr32 &file2
>endif
>
>
>i know i saw in the thread there is better way to install a ocx. or is the above method is the only way to register ocx.
>
>PS : I dont use the setup wizard.
>
>txs