Archive: repair function


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....


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.


CopyFiles
Why isn't this working???????

CopyFiles $EXEDIR, $INSTDIR\modify.exe

do i have to use

CopyFiles $EXEDIR\setup.exe, $INSTDIR\modify.exe


It doesn't work because when the command is given, the setup is still active and cannot be moved. Use a helper exe.

-Hendri.


nono... it works now....

it was because of the ,

*smashheadonkeyboard*


CopyFiles /SILENT $EXEDIR\Setup.exe $INSTDIR\modify.exe


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.

hum... it works without a helper... :D
you only need read privileges to copy a file... so it should not be a problem...


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.


i'm not better... i made a , !!! *no comment*

I forgive you....

thx for your help...

greeeeetinx dem_hang