Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: Windows 7 Gif Viewer Works perfectly

17 Mar 2013   #81

Win 7 32 bit
 
 

If you know what you'redoing, you can disable UAC. To uninstall, just run the installer again and it should ask you to uninstal it.

I havn't been able to make windows give me a UAC warning, so I havn't come up with a way to fix it :/

My System SpecsSystem Spec
.

01 Jun 2013   #82

Windows 7 Home 64bit
 
 
Links dead?

Hey, I went to the goofwear.com/windows/, but when I click the download links, I get this error:

Error in downloadcountfile on line 3.
./downloads/Windows 7 Gif Viewer.exe is already defined.

What does this mean? :/
My System SpecsSystem Spec
02 Jun 2013   #83

Windows 7 Ultimate x64 SP1
 
 

I just say my youtube comment about the error I then logged into my site and fixed the error. Thank you for informing me. I would not have known otherwise
My System SpecsSystem Spec
.


02 Jun 2013   #84

Windows 7 Ultimate x64 SP1
 
 

I also want to thank every one for the positive input and support with the this project. I also apologize for not responding in such a long time
My System SpecsSystem Spec
06 Jun 2013   #85

Windows 7
 
 

Is there a reason as to why an animated gif that plays at normal speed in IE is slow in your program, in regular or slideshow view mode?
My System SpecsSystem Spec
28 Jun 2013   #86

Win 7 32 bit
 
 

That would be the image viewer itself - It's copied from windows XP, and runs with GDI+, so speeds may differ
Although, I'd find it more likely IE is playing it the wrong speed and windows picture and fax viewer plays it correctly, but I can't really be sure. Shouldn't be that big of an issue though :P
My System SpecsSystem Spec
09 Sep 2013   #87

Windows 7 Ultimate x64
 
 

Hey guys,


Here is a revamp of Corgano's installer.

This installer will detect a previous botched install of this application and rather than repair it it will remove the old installation if installed in C:\ or C:\Windows\Gif\. If the installer detects that you are patching a previous version of it's self (made by me) and you have installed it say in C:\Program Files (x86)\Windows7GifViewer\ Then it will prompt the user to remove the existing install. So to un-install this application just run the installer again and choose the existing location and the installer will remove all files as well as any registry entries reverting your Windows 7 to its former state.

Changes or additions by me compared to Corgano's installer include:

1. I dislike being forced to install an application somewhere, and like to be given at least some choice in the matter rather than being forced to install in the root of the system drive (which is not best practice) or within Windows directory (which also is not ideal) I would rather give users have a choice where they would like to install this application.

2. I disliked that I had to do further steps to get the app running besides what the installer did standard; I always needed to make small registry adjustments, changing locations in the registry etc etc. If I was to install on someone else's PC my REG file always needed to be adjusted for the location and user name.

3. Correctly added the rundll32.exe in compatability mode for Windows XP Service Pack 3. Note: No more need to right click the exe and run in Windows XP mode. The installer does all of this for you

4. Fixed spelling mistakes in the code, but drastically changed the script.... so I most likely have added some additional spelling mistakes.

Direct download installer -> Windows7GifViewer.exe
Direct download installer(no admin rights required) -> Windows7GifViewer-NoUAC.exe

Source code (written also in AutoIT) -> Windows7GifViewer.au3

If you have any troubles just re-run the installer again. For example if it keeps detecting a previous install but does not remove it when prompted try removing and then re-running the installer an additional time to try cleanly remove it. Lastly try run as administrator.

I strongly suggest users install in the traditional location of C:\Program Files (x86)\ or C:\Program Files\
My System SpecsSystem Spec
10 Sep 2013   #88

Win 7 32 bit
 
 

Cool to see there's still interest. Ima take a look at your code, been forever since I worked on this, why not now?
When you upload source please include any required images with your script :P

I'm going to (finally) add some of the features people wanted. Would love to work on this with you, fond of github?

EDIT:
what is the purpose of this line? Wouldn't it make the PATH variable longer each time it's run? O.O
EnvSet("path", EnvGet("path") & ";" & @ScriptDir)
My System SpecsSystem Spec
11 Sep 2013   #89

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by corgano View Post
Cool to see there's still interest. Ima take a look at your code, been forever since I worked on this, why not now?
When you upload source please include any required images with your script :P

I'm going to (finally) add some of the features people wanted. Would love to work on this with you, fond of github?

EDIT:
what is the purpose of this line? Wouldn't it make the PATH variable longer each time it's run? O.O
EnvSet("path", EnvGet("path") & ";" & @ScriptDir)
Hey mate,

I think I messaged you ages ago when I was having a laugh at your comments in your script lol. Yeah well I popped on here the other week and noticed that there was a post in this thread the day before. So I figured that there must still be interest in here?

Yeah I am on github. I will add you if you like and upload the code for us to share and anyone else who would like to join in. I have seen some of your AutoIT stuff and can honestly say you are streets ahead of me with AutoIT, but I am a good student

That line is part of the snippet I borrowed for the the splash screen display....which you don't have lol. I will upload the images for you too. Sorry about that. I figured most people are interested in the executable. Its only geeks like us that want the source
I need to do this for the other remaining resource loads at compile time. I just had issues with the FileInstall function myself (n00b-ness kicked in! Yes I am guilty) I forgot I had it referenced twice in my code when I was debugging and could not compile my script and NFI why?
The concept from what I can gather is so that when developers want to share code (say via github) that they don't need to have the project installed in the exact same path as each other in order to compile. Basically it always allows the resources to reside in the same directory as the script no matter where the script is located on the machine and not needing to reference the full path to the resources.
Obviously FileInstall command needs a full path. So to alleviate this we move the environment forward to the script directory so the path is always @scriptdir. That is how I interpret it anyway? You'd probably have to ask broodplank from XDA developer forums exactly how his code works exactly? I borrowed it from a project (windows app for reverse engineering android) we were working on briefly.

Issues that I have with this gif viewer at the moment are two registry entries that the install script just plain ignores?
Details:
1. The path for the dll for the icon associated with .gif files is always missing 1 slash in particular....but maintains all the other slashes in the path? Eg. C:\Program Files (x86)\Windows7GifViewer\shimgvw.dll always ends up being -
C:\Program Files (x86) Windows7GifViewer\shimgvw.dll
............Notice here ^ there is a slash missing? Every time I check the registry after install that particular slash is missing?

2. Right click context menu for .gif files never writes the default value? I don't think I have it in the code that I have uploaded here but it should have the default "open" value of Open with Windows 7 Gif Viewer however it doesn't, it also ignores creating a secondary string value "Icon" with the value of "C:\Program Files (x86)\Windows7GifViewer\shimgvw.dll,0". Note: the value of 0 is always given when assigning the first icon inside of a dll regardless if it is actually the number 1 icon...AFAIK icon registry values for a group of icons is always icon minus 1 or icon value -1 which can be written as either 0 or -1 for the icon of 1 and for dlls with only one icon or executables no references value is needed, just an address to the dll, exe or icon it's self is sufficient.

My only way around these issues that I have found so far is to write the code to create a reg file FileWriteLine into a text file; change its extension to .reg. silently install the reg file and then delete the reg file yeah go on tell me that is a shocking idea and I will agree lol. So for now I just uploaded this for people to use till I find out what is causing the issues with these registry issues? Feel free to pose some different solutions...I'm all ears
My System SpecsSystem Spec
11 Sep 2013   #90

Windows 7 Ultimate x64
 
 

I have uploaded all of my sources to github

https://github.com/Jarmezrocks/Windows7GifViewer/
My System SpecsSystem Spec
Reply

 Windows 7 Gif Viewer Works perfectly





Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:54 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33