It is currently Wed Jun 19, 2013 11:39 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 332 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 23  Next
Author Message
 Post subject:
PostPosted: Fri Jun 30, 2006 9:41 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Jan 12, 2004 11:40 pm
Posts: 673
Location: Okazaki, JAPAN
Request

When the setup is launched, can you do the OGG file in PLAY? :-D

Thanks

_________________
My general site & PureBasic Forum in Japan
My facebook page, The friend is being recruited.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 30, 2006 9:45 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
oryaaaaa wrote:
When the setup is launched, can you do the OGG file in PLAY? :-D


Which 'OGG' file? What do you meen with 'PLAY'

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 30, 2006 9:48 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
New Version 0.2.7
- installation of single files in special folders:
%AppData%, %CommonFiles%, %Windows%, %System%, %Fonts%, %QuickLaunch%

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Last edited by Thorsten1867 on Sat Jul 01, 2006 12:06 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 30, 2006 9:54 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Jan 12, 2004 11:40 pm
Posts: 673
Location: Okazaki, JAPAN
>OGG file

UseOGGSoundDecoder()

PLAY :: PlaySound(#Sound , #LOOP)

I want to sound the techno sound and to press the setup.
AND I make software for the visually handicapped person. It is necessary.

_________________
My general site & PureBasic Forum in Japan
My facebook page, The friend is being recruited.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 30, 2006 11:02 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
oryaaaaa wrote:
>OGG file

UseOGGSoundDecoder()

PLAY :: PlaySound(#Sound , #LOOP)


Use 'Additonal User Tasks' - 'Install File'
'*StartSetup*' Select a exe, which will play your OGG file

The installer looks at startup, whether the file exists and run it.

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 01, 2006 4:27 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Jan 12, 2004 11:40 pm
Posts: 673
Location: Okazaki, JAPAN
Thanks.

BUG :P

'*StartSetup*' Select a exe
StartES.exe is not stop & delete.
When other installations begin, setup execute StartES.exe. (EasySetup)
* StartSetup * must end if the Setup program ends.

_________________
My general site & PureBasic Forum in Japan
My facebook page, The friend is being recruited.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 01, 2006 8:36 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
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.

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 01, 2006 8:57 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Jan 12, 2004 11:40 pm
Posts: 673
Location: Okazaki, JAPAN
It is a problem that Document and Setting/usr/local setting/temp/StartES.exe starts by launching other EasySetup. When you output StartES.exe Please make it to StartES{UniquID}.exe.

Moreover, please add the option to shut the process of '* startup *' if the Setup program ends.

_________________
My general site & PureBasic Forum in Japan
My facebook page, The friend is being recruited.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 01, 2006 11:59 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
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.

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 6:39 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Mon Jan 12, 2004 11:40 pm
Posts: 673
Location: Okazaki, JAPAN
As for the first language choice, I want you to select it automatically by the following code.

Code:
Procedure.s OSlocale()
  localedata.s=Space(256)
  RETlocale= GetLocaleInfo_($400, $1001, localedata, Len(localedata))
  localedata=Left(localedata, RETlocale-1)
  ProcedureReturn localedata
EndProcedure


Japanese
English

It is a manual selection if not corresponding.

_________________
My general site & PureBasic Forum in Japan
My facebook page, The friend is being recruited.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 12:02 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
It's a little bit more difficult:
Code:
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


Version 0.2.9
- automatic setup of EasySetup language

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 12:05 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 13, 2004 12:45 am
Posts: 2749
Location: Bergen, Norway
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:
Image

This is to show that the path I've entered in the directory field is correct:
Image

And here's the error message I keep getting:
Image

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!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 12:30 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
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'.)

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 02, 2006 12:39 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Feb 13, 2004 12:45 am
Posts: 2749
Location: Bergen, Norway
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 Stepped On A Cornflake!!! Now I'm A Cereal Killer!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 04, 2006 6:22 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Aug 24, 2005 4:02 pm
Posts: 525
Location: Germany
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 ;)


Done! Check wether setup file already exists. (Version 0.2.9c)

_________________
PS: Sorry for my bad English. My native language is German.

My PureBasic-Project: EasySetup - SetupMaker for your programs
[Windows 7 x64] [PB V5.0x]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 332 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 23  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye