dem_hang
17th June 2002 08:33 UTC
repair function
in the registry you can use
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\SQLmaker" "ModifyPath" '"$INSTDIR\uninstall.exe"'
to diplay the modify-button in the uninstall menu...
but there you have to give the path to the setup! hmm... how can i copy the setup file to another directory????? is this possible?
sorry.. my english isn't very good....
Smile2Me
17th June 2002 08:41 UTC
Check out this thread. It does something similar: update the installer itself. Read the thread and see that you need to build a seperate "helper" to do the job.
-Hendri.
dem_hang
17th June 2002 08:55 UTC
CopyFiles
Why isn't this working???????
CopyFiles $EXEDIR, $INSTDIR\modify.exe
do i have to use
CopyFiles $EXEDIR\setup.exe, $INSTDIR\modify.exe
Smile2Me
17th June 2002 09:33 UTC
It doesn't work because when the command is given, the setup is still active and cannot be moved. Use a helper exe.
-Hendri.
dem_hang
17th June 2002 09:41 UTC
nono... it works now....
it was because of the ,
*smashheadonkeyboard*
CopyFiles /SILENT $EXEDIR\Setup.exe $INSTDIR\modify.exe
Smile2Me
17th June 2002 09:49 UTC
Of course that comma didn't belong there, but I thought you wanted to do:
how can i copy the setup file to another directory?????
I thought that you wanted to move the installer itself. That's only possible with a helper program.
Anyway, whatever you wanted to do actually, it seems to work now. Good work.
Greetz,
-Hendri.
dem_hang
17th June 2002 09:59 UTC
hum... it works without a helper... :D
you only need read privileges to copy a file... so it should not be a problem...
Smile2Me
17th June 2002 10:06 UTC
Hmmm, sorry for my stupid replies. I'm still sleeping... It seems I didn't sleep enough this weekend after all :(. Please forgive me. Copying should be possible indeed...
Good work, greetz,
-Hendri.
dem_hang
17th June 2002 10:33 UTC
i'm not better... i made a , !!! *no comment*
I forgive you....
thx for your help...
greeeeetinx dem_hang