[Bug 717] Changed - StarCraft Icons not created by wineshelllink
wine-bugs at winehq.com
wine-bugs at winehq.com
Tue May 28 14:04:12 CDT 2002
http://bugs.winehq.com/show_bug.cgi?id=717
*** shadow/717 Sun May 26 20:43:23 2002
--- shadow/717.tmp.14557 Tue May 28 14:04:12 2002
***************
*** 156,158 ****
--- 156,181 ----
One more approach - if a target of a shell link does not exist create a dummy
target with some "UNKNOWN" icon, which will be replaced later. I like this
approach more.
+
+ ------- Additional Comments From Speeddymon at yahoo.com 2002-05-28 14:04 -------
+ Email sent to wine-devel, also as said in email:
+
+ After some more research, I found out that the StarCraft installer doesn't
+ extract StarCraft.exe and StarEdit.exe until after the Windows Start Menu links
+ are created, so that causes a problem, in that wine tries to extract the icon
+ from a non-existant file... Since the file doesn't exist, it defers the icon
+ creation to next reboot, but there is no code to create the icon, by reading
+ the runonce key, in the wine init, so the icons never get created.
+
+ There are 3 ways that I can think of to solve this...
+
+ 1) Implement the code to read runonce in wine's init, so the icons get created
+ on the next run of wine, aka next reboot...
+ 2) Create an initscript to read the system.reg's runonce key as text and then
+ run wineshelllink based on that information, that would correlate with the
+ trace messages at least, i.e. next reboot
+ 3) Defer icon creation somehow until after the rest of the files have been
+ extracted, but before you exit the installer and/or try to run the game...
+
+ I personally like idea 2 because it is the easiest to implement and correlates
+ with the trace message, like i said...
\ No newline at end of file
More information about the wine-bugs
mailing list