Jump to content

Rebooter

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About Rebooter

Rebooter's Achievements

0

Reputation

  1. I'm not using a script directly, just trying to use the 'RunOnce' page in nLite in the 'Unattended' section. If nLite creates the key as REG_SZ, I don't see any way to change it.
  2. I'm trying to get some batch files to run from the 'RunOnce' section during an nLite unattended install. Here's an example: %PROGRAMFILES%\Utils\shortcuts.cmd %PROGRAMFILES%\Utils\addpaths.cmd I'm getting an error message during install after adding these lines (the batch files were tested and known to work correctly). I can't remember the exact error, but I believe it was something along the lines of 'Invalid path in registry...'. This was the only change I made to the disc, so I'm assuming it must be the syntax of using the %ProgramFiles% system variable. Do lines need to be in double quotes, do I need to escape the double quote characters? What's the syntax for running batch files from RunOnce? Also, I wasn't sure if nLite did anything to these lines to prepare them, etc...
×
×
  • Create New...