Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Using command line for passing parameters??


2 replies to this topic

calderaraserge

calderaraserge
  • Members
  • 16 posts

Posted 22 September 2004 - 13:16

Dear all,

I need to run my patch package with the following command :

<drive>:\updade.exe /v"CMDLINE=boot"

If I execute that command line above from the Start->Run uner windows it executes well.

Before executing that command I need to do some stuff and reboot , then proceed again. for that I place that comamnd line inside script to write to registry key RUNONCE. Then before it reboots I verify that the key is properly created with correct syntax, whic is the case

At the next reboot, the runonce key is executed and at that time Installer return are error message saying that line parameter is invalid.

I copie then the same line and paste it to the Start->Run it fires correctly..

What is going wrong here ?

Thanks for your help
Regards
Serge

calderaraserge

calderaraserge
  • Members
  • 16 posts

Posted 23 September 2004 - 13:04

SOme more information.
If I write directly that string in the registry by using regedit. The runonce key is executed and parameter properly pass to CMDLINE....

IF I write that key through code, it fails

any tips?

calderaraserge

calderaraserge
  • Members
  • 16 posts

Posted 24 September 2004 - 09:04

Problem solved