I think there may be some quotes and commas in the wrong places. DISCLAIMER: I
didn't test the following "should be" lines. Still, I figure when you're
desparate, anything might help you find the answer.

Problem line:
    put theF & "/Trakperformance.exe","1" into dIcon
Should be:
    put theF & "/Trakperformance.exe,1" into dIcon

Another line:
    put theF & "/Trakadd.ico","0" into dIcon2
Should be:
    put theF & "/Trakadd.ico,0" into dIcon2

Another:
    put quote & theF & "/Trakperformance.exe" & quote & "%1" into sCom
Should be:
    put theF & "/Trakperformance.exe %1" into sCom


Hope this works! 
Phil Davis




Monte Goulding wrote:
> 
> Hi
> 
> I have a rather obscure problem: (probably one of many but this one has to
> do with MC)
> - I developed a program that has custom file type for windows
> - The program was installed on a laptop running NT while it was on the
> network
> - When the laptop is not on the network the program works fine
> - When the laptop is on the network the following problems occur
>  ~ Files can not be seen by the open file dialog (The files can be seen
> using explorer)
>  ~ Problems finding a stack that is another custom file type as a stackfile
> ot the standalone
> - When the laptop is not on the network the shortcuts disapear from the
> desktop and start menu but the program works OK if you open it from program
> files.
> 
> Question Is there and problem with the following install script
> 
> theF contains the directory of the standalone
> 
>     put theF & "/Trakperformance.exe","1" into dIcon
>     put theF & "/Trakadd.ico","0" into dIcon2
>     put quote & theF & "/Trakperformance.exe" & quote & "%1" into sCom
>     get setRegistry("HKEY_CLASSES_ROOT\.trak\", "Trakperformance")
>     get setRegistry("HKEY_CLASSES_ROOT\Trakperformance\", "Tracking Files")
>     get setRegistry("HKEY_CLASSES_ROOT\Trakperformance\DefaultIcon\", dIcon)
>     get setRegistry("HKEY_CLASSES_ROOT\Trakperformance\shell\open\command\",
> sCom)
>     get setRegistry("HKEY_CLASSES_ROOT\.trakadd\", "Trakperformance.Addin")
>     get setRegistry("HKEY_CLASSES_ROOT\Trakperformance.Addin\",
> "Trakperformance Add-in")
>     get setRegistry("HKEY_CLASSES_ROOT\Trakperformance.Addin\DefaultIcon\",
> dIcon2)
> 
> If there is no problem with this what about if the user logs in as someone
> else or logs into a network?  Will metacard still recognise these files or
> do the file types need to be regisetered on the network? If so how do I do
> it?
> 
> This is a major problem for me so if anyone knows anything it could save my
> ass.
> 
> Thanks all
> 
> Monte
> 
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.

-- 
Phil Davis
[EMAIL PROTECTED]

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to