I need to register my exe after the installation but it doesnt work. My exe has to be registered with another application.
Here's my working batch code:
echo Registering Windows Sidebar
"%VAIOTOOLS%\regtlib.exe" "%ProgramFiles%\Windows Sidebar\sidebar.exe"The real directory of %VAIOTOOLS% is "c:\program files\vaioxp\tools"
I've tried executing this command via the installer and it doesnt work.
Here is my NSIS exec call:
Function .onInstSuccessEven I tried changing to the real directory and it still doesnt work
Exec '"%VAIOTOOLS%\regtlib.exe %ProgramFiles%\Windows Sidebar\sidebar.exe'
FunctionEnd
Exec '"$PROGRAMFILES\VAIOXP\tools\regtlib.exe %ProgramFiles%\Windows Sidebar\sidebar.exe'And I also tried other EXEC formats ,but it still give me the same result:
Exec '"%VAIOTOOLS%\regtlib.exe" "%ProgramFiles%\Windows Sidebar\sidebar.exe"'NSIS is the best installer in thw world, I know this can be done. Please help me
Exec '%VAIOTOOLS%\regtlib.exe %ProgramFiles%\Windows Sidebar\sidebar.exe'
Thank you