PB EasySetup - Setup maker for your program
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Which 'OGG' file? What do you meen with 'PLAY'oryaaaaa wrote:When the setup is launched, can you do the OGG file in PLAY?
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
New Version 0.2.7
- installation of single files in special folders:
%AppData%, %CommonFiles%, %Windows%, %System%, %Fonts%, %QuickLaunch%
- installation of single files in special folders:
%AppData%, %CommonFiles%, %Windows%, %System%, %Fonts%, %QuickLaunch%
Last edited by Thorsten1867 on Sat Jul 01, 2006 12:06 pm, edited 1 time in total.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Use 'Additonal User Tasks' - 'Install File'oryaaaaa wrote:>OGG file
UseOGGSoundDecoder()
PLAY :: PlaySound(#Sound , #LOOP)
'*StartSetup*' Select a exe, which will play your OGG file
The installer looks at startup, whether the file exists and run it.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Oh, it's not a bug. 'StartES.exe' will only be started, what it does, I don't know.
I will take a look to, wheather it's possible to kill 'StartES.exe' before I delete all temp files.
I will take a look to, wheather it's possible to kill 'StartES.exe' before I delete all temp files.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Try it (V. 0.2.7b)! I hope it works.
- Start external program at startup
- Kill external program, if you exit and then deletes setup dir.
- Start external program at startup
- Kill external program, if you exit and then deletes setup dir.
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
As for the first language choice, I want you to select it automatically by the following code.
Japanese
English
It is a manual selection if not corresponding.
Code: Select all
Procedure.s OSlocale()
localedata.s=Space(256)
RETlocale= GetLocaleInfo_($400, $1001, localedata, Len(localedata))
localedata=Left(localedata, RETlocale-1)
ProcedureReturn localedata
EndProcedure
English
It is a manual selection if not corresponding.
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
It's a little bit more difficult:
Version 0.2.9
- automatic setup of EasySetup language
Code: Select all
Procedure.s CheckLanguage()
DefLangID.l = GetUserDefaultLangID_() & 511
lang$ = "english.lng"
If ExamineDirectory(0, ProgDir$ + "Language", "*.lng")
While NextDirectoryEntry(0)
If DirectoryEntryType(0) = #PB_DirectoryEntry_File
OpenPreferences(ProgDir$ + "Language\" + DirectoryEntryName(0))
PreferenceGroup("Translation")
If ReadPreferenceLong("LanguageID",-1) = DefLangID
lang$ = DirectoryEntryName(0)
EndIf
ClosePreferences()
EndIf
Wend
FinishDirectory(0)
EndIf
result = OpenPreferences("EasySetup.ini")
If Not result : result = CreatePreferences("EasySetup.ini") : EndIf
WritePreferenceString("language", lang$)
ClosePreferences()
ProcedureReturn lang$
EndProcedure
- automatic setup of EasySetup language
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
I tried EasySetup on the latest beta 2 version of Vista with build no 5456 and keep getting this error:
This is what the program looks like with everything filled in:
This is to show that the path I've entered in the directory field is correct:
And here's the error message I keep getting:
Is this a bug in the program? Path setting or is it just me?
This is what the program looks like with everything filled in:
This is to show that the path I've entered in the directory field is correct:
And here's the error message I keep getting:
Is this a bug in the program? Path setting or is it just me?
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Take a look to panel 'Setup'. I think the name for the program directory (Installation) is missing.
(I correct the translation for panel 'Files' from 'Program Directory' in 'Source Directory'.)
(I correct the translation for panel 'Files' from 'Program Directory' in 'Source Directory'.)
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
That was strange.
I closed EasySetup and when I opened it again, I select the last project from the file menu, clicked the setup tab and it worked perfectly.
Btw, I found a "bug". Not really a bug, but you should make the program check wether the compiled setup program has the same name and path as any existing files I just overwrote my compiled program. No biggie though
I closed EasySetup and when I opened it again, I select the last project from the file menu, clicked the setup tab and it worked perfectly.
Btw, I found a "bug". Not really a bug, but you should make the program check wether the compiled setup program has the same name and path as any existing files I just overwrote my compiled program. No biggie though
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
- Thorsten1867
- Addict
- Posts: 1366
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
Done! Check wether setup file already exists. (Version 0.2.9c)GeoTrail wrote:Btw, I found a "bug". Not really a bug, but you should make the program check wether the compiled setup program has the same name and path as any existing files I just overwrote my compiled program. No biggie though
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]