![]() |
Create Shortcut and RUN exe after UNZIP
Hi,
How can i make for this Script a Shortcut for Desktop and start from the extracted Folder the EXE File and the end of the installer? code: The Failure is here but how can i resolve it? code: Thx for every help... |
$PLUGINSDIR is removed once the installer is finished.
You're making shortcut to nowhere! :-) |
I'm pretty sure "$PLUGINSDIR\MyFile.exe" should be "$INSTDIR\MyFile.exe"
-Stu |
The Shortcut is created like this
C:\Programme\Inetload\MyFile.exe But if i open the Folder Inetload so there is another Folder from the Unzipped File called "MyFilev1.2" The Shortcut should be created as C:\Programme\Inetload\MyFilev1.2\MyFile.exe The Command "$INSTDIR\MyFile.exe" doesnt help me cause if a newer Version is out so there will be created another Folder with "MyFilev1.3" |
Is there also a Plugin or a Command to pass htaccess logins?
|
Well, if the "myfile.exe" holds version info, you may use FindFirst/FindNext to search for newest version inside "C:\Programme\Inetload" and create the shortcut pointing to it. Or better, you may use ${Locate}. See NSIS documentation for all available solutions. In every case your code should look like:
Find the file, get and compare its version with a defined version, find the next one and compare with previous and defined, find the newest, grab its path and create the shortcut. |
Woww thx Red Wine... Its easy for a beginner to explain.. But doing is little bit hard.. Well i will start as first with ${Locate}.
Isn't any way to pass htaccess login? |
Quote:
|
I dont know how i should search? I mean i dont know what command is used for it.
|
| All times are GMT. The time now is 17:51. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.