![]() |
#1 |
Junior Member
Join Date: Jun 2022
Posts: 1
|
Adding file from uninstfinalize
Hi!
I use !uninstfinalize to produce a custom signature file (to verify the uninstaller). I need this signature file to be installed by the installer. Is this possible? Whenever I think about this I end up with some sort of chicken-egg loop, but I don't completely understand when different things happen here, so maybe I'm missing something. Cheers |
![]() |
![]() |
![]() |
#2 |
Major Dude
Join Date: May 2005
Location: New Zealand
Posts: 923
|
Maybe you can make it a two-step process: use a dummy installer that only has the uninstall code in it, and then in your installer you compile it with !makensis. In the dummy installer you can copy the uninstaller file to somewhere else using !uninstfinalize and run the sign tool on that. Then in the installer just include both files using 'File', and then use !finalize to delete the extra files.
Something like this: PHP Code:
PHP Code:
"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me) NSIS 3 POSIX Ninja Wiki Profile |
![]() |
![]() |
![]() |
#3 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,505
|
Why do you think you need to verify the uninstaller?
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
|
Tags |
uninstfinalize |
Thread Tools | Search this Thread |
Display Modes | |
|
|