How to write installscript in admin studio Tuner
hi everyone,
I want to create transform of my msi project. I open my msi project in admin studio tuner.Now I want to add script for uninstallation of previous version of that product and checking for .net framework. Like installshield2009 , I cant find installscript and custom action in this tuner. This is requirement of my client, then how can i do that.
Please reply as soon as possible.
Thank you..
I want to create transform of my msi project. I open my msi project in admin studio tuner.Now I want to add script for uninstallation of previous version of that product and checking for .net framework. Like installshield2009 , I cant find installscript and custom action in this tuner. This is requirement of my client, then how can i do that.
Please reply as soon as possible.
Thank you..
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
anonymous_9363
13 years ago
Why would you want to run a script to uninstall? That's what the built-in RemoveExistingProducts action is for.
Checking for .Net (or whatever) can be achieved using the AppSearch action and associated tables.
Start here http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx for RemoveExistingProducts then use the selector on the left-hand pane of that page to find the AppSearch action. From there, you can read all about the associated tables.
I'm not a regular IS user, but I'm pretty sure it will have GUI access to these items.
Checking for .Net (or whatever) can be achieved using the AppSearch action and associated tables.
Start here http://msdn.microsoft.com/en-us/library/aa371197(VS.85).aspx for RemoveExistingProducts then use the selector on the left-hand pane of that page to find the AppSearch action. From there, you can read all about the associated tables.
I'm not a regular IS user, but I'm pretty sure it will have GUI access to these items.
Posted by:
pramod_er123
13 years ago
Posted by:
anonymous_9363
13 years ago
The Tuner tool is for creating the MST. Once you have that, you open it - rather than the MSI - with InstallShield which will then ask you to tell it which is the base MSI for the MST. You can then add whatever it is you need to the MST.
Still, as I say, you don't need a Custom Action to do what you want.
Still, as I say, you don't need a Custom Action to do what you want.
Posted by:
pramod_er123
13 years ago
sir, i have only msi file , i open it in admin studio tuner, now how can i write script to perform any functionality.
As you say there is inbuilt custom action removeexistingproducts, but where it in tuner.
I want to write script not only for uninstalling existing version, but if i want to write another functionality ,then how can i achieve it. please reply me sir.
I dont have any idea of tuner.
I see GUI of it but there is no option for installscript , that is available in installshield
But my owner told me to perform this in tuner, then how can i do it
As you say there is inbuilt custom action removeexistingproducts, but where it in tuner.
I want to write script not only for uninstalling existing version, but if i want to write another functionality ,then how can i achieve it. please reply me sir.
I dont have any idea of tuner.
I see GUI of it but there is no option for installscript , that is available in installshield
But my owner told me to perform this in tuner, then how can i do it

so that the conversation will remain readable.