/bundles/itninjaweb/img/Breadcrumb_cap_w.png
I'm trying to run the following script as a custom action:

Dim fso, f
Set fso = CreateObject("WScript.Shell")

f.RegWrite "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\Hummingbird\", 1, "REG_SZ"
f.RegWrite "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\Hummingbird\StubPath", "C:\Program Files\Hummingbird\RegDelCU.vbs", "REG_SZ"
f.RegWrite "HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\Hummingbird\Version", "1", "REG_SZ"
f.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\DELCU", "C:\Program Files\Hummingbird\RegDelKeyCU.vbs", "REG_SZ"

I get an error 1720. Can anyone shed some light? I appreciate any help
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
Where are have you sequenced the CA ?

Are you running it in execute deferred (system context) ?

Cheers,
Rob.
Answered 02/09/2006 by: MSIPackager
Third Degree Black Belt

Please log in to comment
0
If i am not wrong, i think the machine is not able to execute the vbscript file.. why not trying to execute the same file using wscript or cscript???
HTH
Answered 02/10/2006 by: slb
Purple Belt

Please log in to comment
0
Here's a hint.

Set fso = CreateObject("WScript.Shell")
f.RegWrite ................

Shouldn't f be fso? [:D]
Answered 02/10/2006 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
0
Haha - well spotted Mr B [:@]
Answered 02/10/2006 by: MSIPackager
Third Degree Black Belt

Please log in to comment