You are here

Something very weird is happening with my launcher-Please Help/Look at the problem!

3 posts / 0 new
Last post
Espreon's picture
Last seen: 11 years 9 months ago
Joined: 2006-09-29 18:23
Something very weird is happening with my launcher-Please Help/Look at the problem!

Ok, when I use my Regshot Portable on my HDD the settings are retained. But when used on my thumbdrive they are not retained strange huh? I even downloaded it again onto my hdd and installed it to my HDD and TD and the settings are retained on my hdd (when I used it on my hdd) but they are not retained on my td (when used on my td).


Please download it and tell me if you are having the same problem.

Also here the .nsi file:

It is based on John's Mines-Perfect Portable launcher. Mines-Perfect uses an .ini for its settings and the settings are retained on a td. but why not 4 my Regshot Portable (it also uses an .ini for its settings).

Also everything is pointed to its correct places in the .nsi file.

Ryan McCue
Ryan McCue's picture
Last seen: 14 years 7 months ago
Joined: 2006-01-06 21:27

Try adjusting the paths in the configuration file. Post the whole file here in PRE tags so we can check. I'll cut out any crap.
Ryan McCue.
So all that Airbus-delay trouble over here in Europe is because of YOU!

"If you're not part of the solution, you're part of the precipitate."

Espreon's picture
Last seen: 11 years 9 months ago
Joined: 2006-09-29 18:23
Here u go
;Copyright (C) 2004-2007 John T. Haller


;This software is OSI Certified Open Source Software.
;OSI Certified is a certification mark of the Open Source Initiative.

;This program is free software; you can redistribute it and/or
;modify it under the terms of the GNU General Public License
;as published by the Free Software Foundation; either version 2
;of the License, or (at your option) any later version.

;This program is distributed in the hope that it will be useful,
;but WITHOUT ANY WARRANTY; without even the implied warranty of
;GNU General Public License for more details.

;You should have received a copy of the GNU General Public License
;along with this program; if not, write to the Free Software
;Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

!define NAME "Regshot Portable"
!define FRIENDLYNAME "Regshot Portable"
!define APP "Regshot"
!define VER ""
!define WEBSITE ""

;=== Program Details
Name "${NAME}"
OutFile "${NAME}.exe"
Caption "${FRIENDLYNAME} |"
VIProductVersion "${VER}"
VIAddVersionKey ProductName "${FRIENDLYNAME}"
VIAddVersionKey Comments "Allows ${APP} to be run from a removable drive.  For additional details, visit ${WEBSITE}"
VIAddVersionKey CompanyName "Armogohmasuites"
VIAddVersionKey LegalCopyright "John T. Haller"
VIAddVersionKey FileDescription "${FRIENDLYNAME}"
VIAddVersionKey FileVersion "${VER}"
VIAddVersionKey ProductVersion "${VER}"
VIAddVersionKey InternalName "${FRIENDLYNAME}"
VIAddVersionKey LegalTrademarks " is a Trademark of Rare Ideas, LLC."
VIAddVersionKey OriginalFilename "${NAME}.exe"
;VIAddVersionKey PrivateBuild ""
;VIAddVersionKey SpecialBuild ""

;=== Runtime Switches
CRCCheck On
WindowIcon Off
SilentInstall Silent
AutoCloseWindow True
RequestExecutionLevel user

;=== Program Icon
Icon "${NAME}.ico"

Section "Main"
	;=== Check if already running
	System::Call 'kernel32::CreateMutexA(i 0, i 0, t "${NAME}") i .r1 ?e'
	Pop $0
	StrCmp $0 0 CheckINI TheEnd
		;=== Find the INI file, if there is one
		IfFileExists "$EXEDIR\RegshotPortable.ini" ""

		;=== Read the parameters from the INI file
		ReadINIStr $0 "$EXEDIR\RegshotPortable.ini" "RegshotPortable" "DisableSplashScreen"
		StrCmp $0 "true" SkipSplashScreen

		;=== Show the splash screen before processing the files
			File /oname=$PLUGINSDIR\splash.jpg "${NAME}.jpg"
			newadvsplash::show /NOUNLOAD 1200 100 0 -1 /L $PLUGINSDIR\splash.jpg

		;=== Check for data files
		IfFileExists `$EXEDIR\App\regshot\regshot.ini` LaunchNow
                IfFileExists `$EXEDIR\Data\settings\regshot.ini` MoveSettings
		IfFileExists `$EXEDIR\Data\settings\*.*` MoveSettings
			CreateDirectory `$EXEDIR\Data\settings`

		Rename `$EXEDIR\Data\settings\regshot.ini` `$EXEDIR\App\regshot\regshot.ini`

		SetOutPath `$EXEDIR\App\regshot`
		ExecWait `$EXEDIR\App\regshot\regshot.exe`

		;=== Move settings back
                Delete `$EXEDIR\Data\settings\regshot.ini`
                Rename "$EXEDIR\App\regshot\regshot.ini" "$EXEDIR\Data\settings\regshot.ini"


As all of ya should know Micro$oft is the Evil Empire, and Windows (a.k.a. Winblows or Windoze) is their greatest general, so please make a difference and install Linux or FreeBSD on yer Windows comp.

Log in or register to post comments