Archive: Norton System Works


Norton System Works
Hi,

I'm new to this forum and a rookie NSIS user. :)


After creating a short cut I've run Norton
System Works to check for Errors.

Norton says that there are short cut errors.

\RECYCLER\NPROTECT\00000343.LNK is invalid
The path C:\GNA\Usb\Uninstall.exe used by this
short cut is wrong.

Also says the program short cut I've installed is
also invalid.

Does anyone know why this would be?
It doesn't seem to effect anything.
I just want to clean stuff up...

Thanks, Mike


The path first path you gave starts with "\recycler..". The recycler is usually the folder windows uses for the recyle bin. Can you verify?

As for the rest of your shortcuts, I'm not sure. Perhaps it's missing an icon resource or some such thing. (I assume the shortcuts work, correct?) Might help to post the actual shortcut commands you used.


Thanks for responding!

Here are my short cuts...

CreateShortCut "$DESKTOP\${MUI_PRODUCT}.lnk""$INSTDIR\${MUI_FILE}.exe" ""

# Create Start-Menu Items
CreateDirectory "$SMPROGRAMS\${MUI_PRODUCT}"

CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\Uninstall.lnk" "$INSTDIR\Uninstall.exe" "" "$INSTDIR\Uninstall.exe" 0

CreateShortCut "$SMPROGRAMS\${MUI_PRODUCT}\${MUI_PRODUCT}.lnk" "$INSTDIR\${MUI_FILE}.exe" "" "$INSTDIR\${MUI_FILE}.exe" 0


Mike


hmmm... I don't see anything wrong with your commands.

Just on a whim, try issuing the following command at the end of your install:

System::Call 'shell32::SHChangeNotify(i 0x08000000, i 0, i 0, i 0)'

(You can also use the ${RefreshShellIcons} call included in FileFunc.nsh. Its usage is explained in NSIS help under Appendix E under the File Functions header section.)


I tried the system call. Didn't seem to have
any effect.

------------------ Compile output -------------------
File: "System.dll"->"$PLUGINSDIR\System.dll" [compress] 5942/10240 bytes
Plugin Command: Call shell32::SHChangeNotify(i 0x08000000, i 0, i 0, i 0)

When you mentioned the Recyle Bin got me thinking.
I've had a little more time now to do some
thinking and some experimenting.

I've ran Norton after the install and
found it had no errors.

Then after the uninstall and that's where
the problem is. It makes sence now.

I did some searching through the files and
directories looking for "RECYCLER" or
"NPROTECT". Thinking that it is something
I need to remove during the uninstall. But
I could not find anything. ? Not sure where
this information or file links are.

This is the delete code.

Delete "$DESKTOP\${ANS_PRODUCT}.lnk"
Delete "$SMPROGRAMS\${ANS_PRODUCT}\*.*"
RmDir "$SMPROGRAMS\${ANS_PRODUCT}"


Am I missing something in the removal of the
regular short cuts I've made. Or do I
remove the contents of the Recycler? Where
ever that is...

Mike


Don't over-concern yourself with Norton's recycle bin enhancements.