Flexera Software Community  

Go Back   Flexera Software Community > Products > Legacy Installer Products > Professional > InstallShield Professional Version 6.x > installshield.is6.general
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-10-2000, 01:00 AM
NewsArchive NewsArchive is offline
Uber User (1000+ Posts)
 
Join Date: Oct 2001
Posts: 44,733
Refresh icons on install, again



Several posts to the group have dealt with the question of icons not
refreshing after installation, but none seem to address the problem I have
encountered. Installshield website and IS 6 online help (updated) seem to
offer no help.

I am creating a start menu and desktop icon during installation. The icons
are defined on the resources pane and connected to a file group that
includes the icon files (ICO format), which is part of a required component.
The target is specified with a relative path that may include spaces, ie.
"<myDir>\subDir" After the installation, the displayed icon is the default
flying windows logo. The properties of the shortcut reveal that all of the
specifications (target, start folder, etc.) I made were correctly used. If
I try to change the icon manually, I see that the my icon file is correctly
shown. If I click "ok" in the change icon dialog and click "ok" in the
shortcut properties sheet, the icon suddenly refreshes to my icon.

Is something wrong with the Explorer Shell? Should I add something to my
script to force the shell to refresh? My setup is Win2k with IS 6.11 (I
have ordered 6.2). Your comments and suggestions are greatly appreciated.

Bill

======================================
William Scharffenberg
william.a.scharffenberg@usace.army.mil

  #2  
Old 08-14-2000, 01:00 AM
NewsArchive NewsArchive is offline
Uber User (1000+ Posts)
 
Join Date: Oct 2001
Posts: 44,733
Re: Refresh icons on install, again



Well, no one seems to have any ideas. I have quit using the IDE for icons
and registry settings. At least I know that doing from the script will
always work.

Bill

======================================
William Scharffenberg
william.a.scharffenberg@usace.army.mil


"William Scharffenberg" <william.a.scharffenberg@usace.army.mil> wrote in
message news:3993334e.0@208.30.171.38...
> Several posts to the group have dealt with the question of icons not
> refreshing after installation, but none seem to address the problem I have
> encountered. Installshield website and IS 6 online help (updated) seem to
> offer no help.
>
> I am creating a start menu and desktop icon during installation. The
icons
> are defined on the resources pane and connected to a file group that
> includes the icon files (ICO format), which is part of a required
component.
> The target is specified with a relative path that may include spaces, ie.
> "<myDir>\subDir" After the installation, the displayed icon is the
default
> flying windows logo. The properties of the shortcut reveal that all of
the
> specifications (target, start folder, etc.) I made were correctly used.
If
> I try to change the icon manually, I see that the my icon file is
correctly
> shown. If I click "ok" in the change icon dialog and click "ok" in the
> shortcut properties sheet, the icon suddenly refreshes to my icon.
>
> Is something wrong with the Explorer Shell? Should I add something to my
> script to force the shell to refresh? My setup is Win2k with IS 6.11 (I
> have ordered 6.2). Your comments and suggestions are greatly appreciated.
>
> Bill
>
> ======================================
> William Scharffenberg
> william.a.scharffenberg@usace.army.mil
>
>

  #3  
Old 02-13-2001, 01:00 AM
NewsArchive NewsArchive is offline
Uber User (1000+ Posts)
 
Join Date: Oct 2001
Posts: 44,733
Re: Refresh icons on install, again



I don't have input for you, but I'm having the same problem.

--
Thank you,
Tim Wittbrod
Integral Technologies
tel: +1-317-845-9242
fax: +1-317-845-9275
www.integraltech.com

"William Scharffenberg" <william.a.scharffenberg@usace.army.mil> wrote in
message news:3993334e.0@208.30.171.38...
> Several posts to the group have dealt with the question of icons not
> refreshing after installation, but none seem to address the problem I have
> encountered. Installshield website and IS 6 online help (updated) seem to
> offer no help.
>
> I am creating a start menu and desktop icon during installation. The
icons
> are defined on the resources pane and connected to a file group that
> includes the icon files (ICO format), which is part of a required
component.
> The target is specified with a relative path that may include spaces, ie.
> "<myDir>\subDir" After the installation, the displayed icon is the
default
> flying windows logo. The properties of the shortcut reveal that all of
the
> specifications (target, start folder, etc.) I made were correctly used.
If
> I try to change the icon manually, I see that the my icon file is
correctly
> shown. If I click "ok" in the change icon dialog and click "ok" in the
> shortcut properties sheet, the icon suddenly refreshes to my icon.
>
> Is something wrong with the Explorer Shell? Should I add something to my
> script to force the shell to refresh? My setup is Win2k with IS 6.11 (I
> have ordered 6.2). Your comments and suggestions are greatly appreciated.
>
> Bill
>
> ======================================
> William Scharffenberg
> william.a.scharffenberg@usace.army.mil
>
>

  #4  
Old 02-14-2001, 01:00 AM
NewsArchive NewsArchive is offline
Uber User (1000+ Posts)
 
Join Date: Oct 2001
Posts: 44,733
re:Refresh icons on install, again



I'm only replying to this in hopes of generating interest. I have had
precisely the same problem. I have tried broadcasting to Windows that the
environment has changed to no avail. i.e. I've tried:

#define HWND_BROADCAST 0xffff
#define WM_SETTINGCHANGE 0x001A
szParameter = "Environment"
pParameter = &szParameter
SendMessage (HWND_BROADCAST, WM_SETTINGCHANGE, 0, pParameter)

which of course refreshes environment settings. Is it possible that either
WM_SETTINGCHANGE or szParameter needs to be different? I have yet to find
one that will refresh the Explorer shell.

Thanks in advance,

Ed Freedman
edwardf@eschergroup.com

"Timothy Wittbrod" <twittbrod@integraltech.com> wrote in message
news:3a895e3e$1@12.41.20.38...
> I don't have input for you, but I'm having the same problem.
>
> --
> Thank you,
> Tim Wittbrod
> Integral Technologies
> tel: +1-317-845-9242
> fax: +1-317-845-9275
> www.integraltech.com
>
> "William Scharffenberg" <william.a.scharffenberg@usace.army.mil> wrote in
> message news:3993334e.0@208.30.171.38...
> > Several posts to the group have dealt with the question of icons not
> > refreshing after installation, but none seem to address the problem I
have
> > encountered. Installshield website and IS 6 online help (updated) seem
to
> > offer no help.
> >
> > I am creating a start menu and desktop icon during installation. The
> icons
> > are defined on the resources pane and connected to a file group that
> > includes the icon files (ICO format), which is part of a required
> component.
> > The target is specified with a relative path that may include spaces,
ie.
> > "<myDir>\subDir" After the installation, the displayed icon is the
> default
> > flying windows logo. The properties of the shortcut reveal that all of
> the
> > specifications (target, start folder, etc.) I made were correctly used.
> If
> > I try to change the icon manually, I see that the my icon file is
> correctly
> > shown. If I click "ok" in the change icon dialog and click "ok" in the
> > shortcut properties sheet, the icon suddenly refreshes to my icon.
> >
> > Is something wrong with the Explorer Shell? Should I add something to
my
> > script to force the shell to refresh? My setup is Win2k with IS 6.11 (I
> > have ordered 6.2). Your comments and suggestions are greatly
appreciated.
> >
> > Bill
> >
> > ======================================
> > William Scharffenberg
> > william.a.scharffenberg@usace.army.mil
> >
> >
>
>

  #5  
Old 02-14-2001, 01:00 AM
NewsArchive NewsArchive is offline
Uber User (1000+ Posts)
 
Join Date: Oct 2001
Posts: 44,733
re:Refresh icons on install, again



I've had some luck with this, at least for refreshing icons for new file
associations; perhaps another switch for SHChangeNotify (SHCNE_ALLEVENTS?)
would do the trick?

#define SHCNE_ASSOCCHANGED 0x08000000
#define SHCNF_IDLIST 0x0000

prototype Shell32.SHChangeNotify(LONG, LONG, POINTER, POINTER);

// ...and later...

SHChangeNotify(SHCNE_ASSOCCHANGED, SHCNF_IDLIST, NULL, NULL);

"Edward W Freedman" <edwardf@eschergroup.com> wrote in message
news:3a8abe24$1@12.41.20.38...
> [...] I have yet to find
> one that will refresh the Explorer shell.

--
Robert M. Dickau
Senior Technical Trainer
InstallShield Software Corp.
www.installshield.com/training

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2009 Flexera Software Inc. All rights reserved.