Hi all,

We are currently working on rolling out MapInfo 9.5 to our campus who currently have 8.5.
What we need to do is delete the MapInfo Profile file that was created with 8.5 before they run 9.5

So far we have got a "MapInfo 9.5 User Tools" MSI created (launches when a user logs in and it hasnt already been run for that user, and with user permisisons), which adds the registry and updated MapInfo.prf file to the location, but it will not overwrite even with the "Always Overwrite" option ticked, so we were thinking of using a Custom Action to delete the original file first.
The file we need to delete is C:\Documents and Settings\<USERNAME>\Application Data\MapInfo\MapInfo\MapInfo.prf.

Unfortunately Im not at the office atm (being pro-active!), and a couple of commands havent deleted the file using the CMD.EXE /C running before the MOVE FILES option, but I can post that when I get to the office if that'll help. Wierdly though, the CMD.EXE command does work as a user if its just written in the CMD window!(?)

What would I need to do to get this working?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hey Martin,

Just finished MapInfo 9.5 myself. I would use an Active Setup script to remove the file for each user, when logging in.

I believe that this would be easier than a repair of the msi, as it is such a large installation which would utilise too much time when launching an advertised component repair. I haven't had to deal with the MapInfo.prf issue you mentioned, but my packaged app hasn't been through UAT yet.

Hope this helps, confirms your plan,

Regards
Wayne
Answered 10/16/2008 by: WayneB
Blue Belt

Please log in to comment
0
Well after a fresh pair of eyes today, it looks like I may have forgotten a trailing "!
CMD.EXE /C rd "%USERPROFILE%\Application Data\MapInfo\MapInfo /S /Q was there instead of CMD.EXE /C rd "%USERPROFILE%\Application Data\MapInfo\MapInfo" /S /Q

Here's hoping this will work now!
Answered 10/17/2008 by: Langaleer
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity