http://www.reelmediaproductions.com/pureinstall
Of course it's written in PureBasic

View the QuickTour to learn how to use it!
Not a good idea. On my german windows this must:PB wrote:Looks great Paul -- but I have some suggestions.![]()
(1) Can it default to C:\Program Files\MyApp instead of C:\MyApp?
there keys in registry telling you the pathGPI wrote:Not a good idea. On my german windows this must:PB wrote:Looks great Paul -- but I have some suggestions.![]()
(1) Can it default to C:\Program Files\MyApp instead of C:\MyApp?
c:\programme
Also the start-menu is in a diffrent directory
C:\WINDOWS\Startmenü\Programme
There are Windows-Functions for this (look in the IncludePack1 of japbe, the system.pbi)
Code: Select all
#GetPath_Desktop=0
#GetPath_Fonts = $14
#GetPath_Programs = $2
#GetPath_SendTo = $9
#GetPath_StartMenu = $B
#GetPath_StartUp = $7
#GetPath_Templates = $15
#GetPath_MyDocuments = $5
Procedure.s GetPath(Type); - Return the path of some system-directorys
*itemid.Long = #NULL
If SHGetSpecialFolderLocation_ (0, Type, @*itemid) = #NOERROR
location$ = Space (#MAX_PATH+1)
If SHGetPathFromIDList_ (*itemid, @location$)
If Right(location$,1)<>"\" : location$+"\" : EndIf
ProcedureReturn location$
EndIf
EndIf
EndProcedure
Could be my words ,Paul wrote:As for the other problems, I will be happy when Microsoft drops support for 98 after Christmas, meaning everyone else is off the hook for having to try and support is also
Things that seem to work fine on newer OS's exhibit very strange behaviour on older OS's or just won't work right at all.
(