Sample Plug In
Posted: Thu Dec 29, 2005 9:10 pm
I was wondering if you could give me further details into how to create a custom Plug In?
I have found the cpp sample that shows how to interact with the IDE and setup; although, I have not been able to determine how to program the details of the plug in, even though I am extremely fluent in programming .cpp.
I downloaded your 68 meg sample plug in project (InstallAware Plug-In Update.exe) and tried to install on a stand alone machine. The install failed because i did not have installAWARE on that machine. I did not want to install on my installAWARE computer because it is not clear what that 68 meg plug in file contains ... i don't want to overwrite potentially newer plug in's from InstallAWARE 5.0. Does that download have sample source code or is it just run time? Is the contents already in InstallAWARE 5.0?
Anyway, for example, i have this dll that is a run time for my app. I would like to create a plug in for this dll to:
1. determine version of existing dll in winsys32
2. copy into winsys32 only if setup file is newer.
3. register the dll.
How do i do this? Am i to use the windows API for everything or do i use some InstallAWARE API ? I am slightly confused because it appears i need to code everything using windows API; but that goes against my understanding that InstallAWARE does all installation via the Windows Installer engine.
Can you shed some light into this so I may better understand what i need to do?
Once i understand what to do I need to make some substantial enhancements to the existing Windows Installer 3.0 plug in. I mean i need to create plug in's for each language since the one you have provided appears to be English only. I want to use your Plug In technology since this is great for installing the Windows Installer since it appears to allow bootstrapping the setup. (my understanding of the definition of bootstrapping: a reboot is not required after installation of the Window's Installer and before installing my application)
thanks!
I have found the cpp sample that shows how to interact with the IDE and setup; although, I have not been able to determine how to program the details of the plug in, even though I am extremely fluent in programming .cpp.
I downloaded your 68 meg sample plug in project (InstallAware Plug-In Update.exe) and tried to install on a stand alone machine. The install failed because i did not have installAWARE on that machine. I did not want to install on my installAWARE computer because it is not clear what that 68 meg plug in file contains ... i don't want to overwrite potentially newer plug in's from InstallAWARE 5.0. Does that download have sample source code or is it just run time? Is the contents already in InstallAWARE 5.0?
Anyway, for example, i have this dll that is a run time for my app. I would like to create a plug in for this dll to:
1. determine version of existing dll in winsys32
2. copy into winsys32 only if setup file is newer.
3. register the dll.
How do i do this? Am i to use the windows API for everything or do i use some InstallAWARE API ? I am slightly confused because it appears i need to code everything using windows API; but that goes against my understanding that InstallAWARE does all installation via the Windows Installer engine.
Can you shed some light into this so I may better understand what i need to do?
Once i understand what to do I need to make some substantial enhancements to the existing Windows Installer 3.0 plug in. I mean i need to create plug in's for each language since the one you have provided appears to be English only. I want to use your Plug In technology since this is great for installing the Windows Installer since it appears to allow bootstrapping the setup. (my understanding of the definition of bootstrapping: a reboot is not required after installation of the Window's Installer and before installing my application)
thanks!