WiRunSql.vbs
Hello,
I would to use the WiRunSql.vbs to modify table msi. I type this command line :
C:\>WiRunSQL.vbs test.MSI "UPDATE `File` SET `File`.`Attributes`='16384' WHERE
`File`.`Attributes`='0'"
The command return : MSI Error 80004005 1:2232: 2:test.msi 3: 0 4: '"UPDATE `File` SET `File`.`Attributes`='16384' WHERE `File`.`Attributes`='0'"
The command run without trouble for
C:\>WiRunSQL.vbs test.MSI "UPDATE `Feature` SET `Feature`.`Title`='Aide' WHERE `
Feature`.`Feature`='Help'"
What does mean the MSI Error 80004005 ?
0 Comments
[ + ] Show comments
Answers (3)
Answer Summary:
You need to take the single quotes from around the Integer values. The Attributes column is an Integer datatype, and these don't require single quotes.
You need to take the single quotes from around the Integer values. The Attributes column is an Integer datatype, and these don't require single quotes.
Please log in to answer
Posted by:
captain_planet
12 years ago
You need to take the single quotes from around the Integer values. The Attributes column is an Integer datatype, and these don't require single quotes. I've made an extensive tutorial on this. I'll post a link shortly....
Anyway, your SQL should be:
"UPDATE `File` SET `File`.`Attributes`=16384 WHERE `File`.`Attributes`=0"
Comments:
-
Owo my Good you did it ! Thanks - egiberne 12 years ago
Posted by:
captain_planet
12 years ago
Posted by:
SMal.tmcc
12 years ago