Error while deleting the reg key under HKCR\Installer\product
As a requirement before installing, the application should delete the key under
"HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\<prod key> "
I created a vbscript and it works fine when executed manually, but when i add it my application it throws an error stating that System administrator has set policies to prevent this installation.
But if delete the Custom action from application, it isntalls fine also if try to delete any other key it works fine.
One more solution i feel is to create a vbs file and write the entire script to a certain location and then execute that vbs file.
What do u guys suggest.
"
I created a vbscript and it works fine when executed manually, but when i add it my application it throws an error stating that System administrator has set policies to prevent this installation.
But if delete the Custom action from application, it isntalls fine also if try to delete any other key it works fine.
One more solution i feel is to create a vbs file and write the entire script to a certain location and then execute that vbs file.
What do u guys suggest.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
Posted by:
mekaywe
14 years ago
Posted by:
shweta_kar
14 years ago
Hi all,
I am trying to delete [PackedProductCode] key only , also its an user requiremnt to do so hence workign on it.
Second thing i am working on Adminstudio, so can't use wise script.
One more thing i noticed is that adding any custom action in the application(Its vendor msi transform has been created) gives me the above error. adding a msgbox too.
Working on application Potrait Edge Client v 7.7.2
I am trying to delete [PackedProductCode] key only , also its an user requiremnt to do so hence workign on it.
Second thing i am working on Adminstudio, so can't use wise script.
One more thing i noticed is that adding any custom action in the application(Its vendor msi transform has been created) gives me the above error. adding a msgbox too.
Working on application Potrait Edge Client v 7.7.2
Posted by:
anonymous_9363
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.