/build/static/layout/Breadcrumb_cap_w.png

Problem getting file extension to work correctly

Hi all,

I have an application called WinRunner that I am packaging.

There are files of type ".gui" that are associated with it when i install the sources.
If I right click on a .gui file and see the Properties of it, the "Type of File" is WinRunner GUI Map File and when I click Change... at Opens With... the Recommended Program is WinRunner.

However, when i install my msi I don't get this.

I am using Wise Package Studio and have decided against using the File Association Tool in Wise. Instead I extracted the Prog ID registry keys and imported them into my msi hoping that this would do the job - it didn't.

The keys that I have in my app are -

HKCR\.gui with a Default value REG_SZ of guifile
HKCR\guifile with a Default value REG_SZ of WinRunner GUI Map File
HKCR\guifile\DefaultIcon with a Default value REG_SZ of C:\Program Files\Mercury Interactive\WinRunner\arch\wrun.exe,1

Is there anything that i'm missing? Can anyone assist me please?

Cheers,
Rgds,
MArk

0 Comments   [ + ] Show comments

Answers (3)

Posted by: mark_holland21 18 years ago
Fourth Degree Green Belt
0
Hi all again,

Has anyone got any idea what i need to do here?
Do I have to use the Media, Verb and Prog ID tables?

Please help - it's driving me nuts!!!

Mark
Posted by: islander222 18 years ago
Senior Yellow Belt
0
Just guessing but your probably missing the HKEY_CLASSES_ROOT\guifile\shell\open\command.
The default key should probably point to "C:\Program Files\Mercury Interactive\WinRunner\arch\wrun.exe %1"
or
"C:\Program Files\Mercury Interactive\WinRunner\arch\wrun.exe" "%1"

Hope this helps,
Aidy.
Posted by: AngelD 18 years ago
Red Belt
0
To make sure you get all advertising information during a capture set it to scan advertising information.
Open "Windows Installer Editor"
Tools menu -> Options
Advertising tab

Select the "Scan advertising information into advertising tables for the "Advertising Setting"
Mark the "Default to rescan advertising for new components." option

Save this to your template that will be used during SetupCapture.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ