MSFN Forum: Scripting BDEHDCFG.exe and Vista installs.. - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Scripting BDEHDCFG.exe and Vista installs.. Wiered issue with .msi and attached or detached process Rate Topic: -----

#1 User is offline   Br4tt3 

  • World famous sausage eater...
  • PipPipPipPip
  • Group: Members
  • Posts: 566
  • Joined: 20-April 04

Posted 19 June 2007 - 01:39 AM

Hi,

I am using bdehdcfg.exe from MS (that is able to shrink the c: and create a new partition) preparing the drive for BitLocker, however, I am getting some wiered issue: My approach is that we vb script the bdehdcfg.exe cli tool and then wrap it in an .msi, however;

1. If I run the .vbs and have the cli in place, the operation works nicely!
2. If I wrap the .vbs and the cli tool in the .msi, the .msi actually kicks of the scripts, repartitions it and formats the newly created drive. Finally, the script/tool also creates the required boot directory (boot files) for Vista on that new partition. Problem is, that when checking the partition it is not set to active. Setting the partition to active is not specified as a switch on the bdehdcfg.exe, the .exe is written to do that...

It seems as if, the .exe/.msi file fails beacuse of:

1. Either the .msi kills some hidden/dettached child process from the bdehdcfg.exe utility
2. Some feature blocks the activation of the partition!

Summary:

1. Command works
2. Script works
3. .msi module works partly / just dont know which process the .exe runs/executes?

Anyone using bdehdcfg.exe know of this? Seen it? Driving me mad....


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy