This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Converting Wise Operations...
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
01:15 PM
Converting Wise Operations...
Hi all,
In Wise, there were items called operations that could be set in the IDE's Files view. For instance, if the application creates logs that should be deleted on uninstall, you could place a Remove File operation in the appropriate directory and set it to occur on Uninstall.
Is there any capability similar to this in IS '10 or do I just have to create Custom Actions?
Any information appreciated!
In Wise, there were items called operations that could be set in the IDE's Files view. For instance, if the application creates logs that should be deleted on uninstall, you could place a Remove File operation in the appropriate directory and set it to occur on Uninstall.
Is there any capability similar to this in IS '10 or do I just have to create Custom Actions?
Any information appreciated!
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 06, 2009
03:47 PM
You can use the RemoveFile Table
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2009
08:20 AM
So, if a log is created, let's say myapp.log, I can just make entries in that table and for the component entry I could use maybe the component of the .exe that created the .log.
In other words what would the Remove File table entry look like for the myapp.log that is installed to the same directory as myapp.exe?
In other words what would the Remove File table entry look like for the myapp.log that is installed to the same directory as myapp.exe?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 09, 2009
10:53 AM
Exactly. The record in the Direct Editor will look like this:
[HTML]FileKeyName ComponentName myapp.log INSTALLDIR 2[/HTML]
[HTML]FileKeyName ComponentName myapp.log INSTALLDIR 2[/HTML]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2009
08:52 AM
They also had Copy and Move operations. Should they just be handled with Custom Actions of some kind (vbScript, fire an .exe to do the job, etc.)?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2009
09:17 AM
Actually, you might first look into the MoveFile and DuplicateFile tables (the Windows Installer help has more information) to avoid the need for a custom action.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 10, 2009
09:26 AM
See, I believe there is some major cleanup that is needed in our installs. I just got back to this job after a layoff and the individual, not really knowing any better, added a bunch of various custom actions to get jobs done.
Although the install seems to work as intended, it's cluttered and is becoming a maintenance.
No better time to switch products than when you need a complete rebuild.
Thanks so much for the quick responses. I haven't really gone through this build exercise with the other product we are evaluating, but I'm liking InstallShield all over again!!
Although the install seems to work as intended, it's cluttered and is becoming a maintenance.
No better time to switch products than when you need a complete rebuild.
Thanks so much for the quick responses. I haven't really gone through this build exercise with the other product we are evaluating, but I'm liking InstallShield all over again!!