Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   WriteUninnstaller giving unusual error mesage (http://forums.winamp.com/showthread.php?t=229923)

kidro2001 1st November 2005 23:36

WriteUninnstaller giving unusual error mesage
 
Hi everyone. First I want to thank all the people here for devoting their time to helping other people. This is my first time posting, but I have been browsing for months.

I have a commercial scripting solution and I am running into the error "Invalid filesystem path missing" when the code reaches the this point in the code:

WriteRegStr HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\XXX" DisplayIcon "$INSTDIR\XXX\XXX-icon.ico"
WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\XXX" UninstallString "$INSTDIR\Uninstall.exe"
WriteUninstaller "$INSTDIR\Uninstall.exe"

Specifically, when the program executes the WriteUninstaller line. My program compiles, installs, and uninstalls properly though. The weird part of this error message is that I never got this before and I haven't changed the scripts (I am testing a backup and has been verified to work). I've tried various computers and versions of NSIS. Could anyone help me figure out the reason for this error? I'd really appreciate it.

iceman_k 2nd November 2005 03:35

Attach a script that can reproduce the problem.
You can remove any sensitive or proprietary stuff and just leave a core which demonstrates the issue.

kidro2001 3rd November 2005 03:44

1 Attachment(s)
I have attached. I have combined the the .oninit function and default section into one script for now so its easier to attach. Thanks for your help. I appreciate it.

iceman_k 3rd November 2005 04:40

This script cannot reproduce the problem. There are too many external dependencies which are missing, e.g. all the !included files, the ini files etc.
You need to strip it down to a bare bones stand-alone script which reproduces the problem.

Takhir 3rd November 2005 05:54

Is path correct?
code:

MessageBox MB_OK "$INSTDIR\Uninstall.exe"
SetOutPath "$INSTDIR"
WriteUninstaller "Uninstall.exe"


Afrow UK 3rd November 2005 07:46

Perhaps you should specify the full path in WriteUninstaller.

-Stu


All times are GMT. The time now is 05:12.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.