|
|
|
|
#1 |
|
Junior Member
Join Date: May 2006
Posts: 13
|
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... |
|
|
|
|
|
#2 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
$PLUGINSDIR is removed once the installer is finished.
You're making shortcut to nowhere! :-) Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
I'm pretty sure "$PLUGINSDIR\MyFile.exe" should be "$INSTDIR\MyFile.exe"
-Stu |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: May 2006
Posts: 13
|
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" |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: May 2006
Posts: 13
|
Is there also a Plugin or a Command to pass htaccess logins?
|
|
|
|
|
|
#6 |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
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. Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: May 2006
Posts: 13
|
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? |
|
|
|
|
|
#8 | |
|
Forum King
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
|
Quote:
Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS |
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: May 2006
Posts: 13
|
I dont know how i should search? I mean i dont know what command is used for it.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|