I have an installer.exe. That installer is built in NSIS V2.17. I need to run that installer in silent mode from command line. My coding is as below: char regSvrPath1[1024]; strcpy(regSvrPath1, "C:\\Program Files\\Installer.exe"); char regSvrArg1[1024]; strcpy(regSvrArg1, " /S /D=C:\\Program Files\\Installer"); int iI = _spawnl(_P_WAIT, regSvrPath1, regSvrArg1, NULL); When the spawnl statement is executed, it shows me the messagebox, "Please specify the installation type as first parameter: /install /upgrade /remove" I have tried out the arguments as strcpy(regSvrArg1, " /install /S /D=C:\\Program Files\\Installer"); But it is not working.... Can any one please guide me, how to specify install, uninstall or upgrade option from command line??
chandni_chandrakant_maheta
Posts
-
run NSIS installer.exe from commandline -
Win32 Debug APIThanks for your reply. Dave Kreskowiak wrote: You'd have to inject hooks into all the I/O functions Can you please give me any sample code or any article from where I can know how to inject hooks for an I/O function.
-
Win32 Debug APIThanks a lot for your reply. I was thinking to build a file system filter driver. What do you think can I keep watch on a process by file system filter driver? According to me, if we load a filter driver, we need to restart the computer. Can we load a filter driver with out rebooting?
-
Debug a processI need to write a debugger which will execute an process and I need to get notification when that process will write or modify any thing on the hard disk. Can we keep watch on any process for getting info when that process will write to hard disk? I have read something about "Win32 Debug API". Can any one guide me or give me any demo code for this?
-
Debug a perocessI need to write a debugger which will execute an process and I need to get notification when that process will write or modify any thing on the hard disk. Can we keep watch on any process for getting info when that process will write to hard disk? I have read something about "Win32 Debug API". Can any one guide me or give me any demo code for this?
-
Win32 Debug APII need to write a debugger which will execute an process and I need to get notification when that process will write or modify any thing on the hard disk. Can we keep watch on any process for getting info when that process will write to hard disk? I have read something about "Win32 Debug API". Can any one guide me or give me any demo code for this?
-
Win32 Debug APII need to write a debugger which will execute an process and I need to get notification when that process will write or modify any thing on the hard disk. Can we keep watch on any process for getting info when that process will write to hard disk? I have read something about "Win32 Debug API". Can any one guide me or give me any demo code for this?
-
Debug APII need to write a debugger which will execute an process and I need to get notification when that process will write or modify any thing on the hard disk. Can we keep watch on any process for getting info when that process will write to hard disk? I have read something about "Win32 Debug API". Can any one guide me or give me any demo code for this?
-
"file system filter driver development"Hi ! I want to development a file system filter driver, in VC++. Can it be developed using DDK kit? or I will have to purchase the IFS kit? Plz specify what needs to be installed for file system filter development? Would be the DDK enough? Can I develop it in VC++ using the DDK?
-
Server application which will listen to a port.Hello, I want to get a sample code of a server application that will be listening to a port, and track requests coming to that port. Plz reply ASAP, if any one knows from where I can get this.
-
"Dynamic Linking of .lib file in my project"I tried out this, but it works in case we want to include lib or header files. In case of dll it does not work. Still it gives me the error that "dll ot found. ReInstalling the application may fix this problem."
-
"Dynamic Linking of .lib file in my project"but my requirement is such that I need to make one folder in my project's exe's path, and I need to place myfunctions.dll in that folder. Doing so, it gives error tha "dll not found" and terminates the application.
-
"Dynamic Linking of .lib file in my project"I have linked dynamic linked library myfunctions.lib file in my project by setting its path in Project/Settings/Link/Input. And I have to place myfunctions.dll either in the same folder of my project's exe or in the system directory. Can any one suggest me what should do ? if I want to place that myfunctios.dll in some other folder??