Files not copied

Got a problem you cannot solve? Try here.
classic
Posts: 4
Joined: Fri May 18, 2007 9:34 am

Files not copied

Postby classic » Fri May 18, 2007 10:10 am

Hello:

This is our first attempt at using Installaware. We have been a Wise Installbuilder user for years.

We have a program with about 400 Crystal reports in .rpt format. In the old version of the software (installed by Wise), all of the reports were in Crystal 7.0 format. In the new software (installed by Installaware) all reports have the same name, but are now Crystal 11.0 format.

At amost every installation, some of the new reports are not being copied over the existing ones, although they are included in the script.

We have confirmed that the app is closed during install, but it appears that Installaware is simply not overwriting reports at random.

Any ideas as I have no clue where to start?

Thanks.

Dave

Gizm0
Posts: 339
Joined: Wed Nov 09, 2005 8:47 pm

Postby Gizm0 » Sat May 19, 2007 5:23 am

Are you sure it's random?Permissions maybe?Read only flag enabled on these files?
Panagiotis Kefalidis
Software Design Team Lead
\"In order to succeed, your desire for success should be greater than your fear of failure\"
InstallAware Software Corporation

classic
Posts: 4
Joined: Fri May 18, 2007 9:34 am

Files not overwritten.

Postby classic » Tue May 22, 2007 7:32 am

Thanks Gizm0.

I thought that might be possible, but it has happened at quite a few users. I would say about 60% of everything we have shipped have needed replacement reports. The problem is that it is almost never the same report (very inconsistent)

I could see a few users having a few "read-only" reports, maybe they were playing with permissions or something, however the majority of my customers are not very "tech-savy" so they tend to stay out of the folder.

Our software also uses the app.path folder for temp files etc. so all users need to have full permission to the folder or the software wil not even run, so I would assume it is not a user-permission issue either.

Not sure where to look. We are considering sending two install programs, Installaware to put on Crystal 11 and then Wise to put on our app, but that's a pain!

Any other thoughts?

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Tue May 22, 2007 6:02 pm

To make sure files are getting overwritten...be sure to call Delete Files Recursive and nuke them before installing your new version!

Otherwise, as long as your files are not versioned, Windows Installer will rely on file dates and times to overwrite/replace files.

This means that, files may not be overwritten/replaced if user's updates are newer than those in your setup package.

And this can explain the "Random" factor.
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/

classic
Posts: 4
Joined: Fri May 18, 2007 9:34 am

Delete Recursive

Postby classic » Thu May 24, 2007 1:26 pm

Thanks for the reply.

I looked at "delete recursive" and it might be useful if the reports all had similar names, but they do not. I have about 400 reports and we add new ones every month or so.

Power users are also able to create their own, new reports using Crystal, so there is no way to say Delete *.rpt to get rid of them all without the risk of deleting something the user has created. We do however tell them never to modify an existing report without renaming it first.

So for all 400 reports we have to add a delete line just before the copy line, correct? Also if we add a new file to the install files area, we would also have to add the delete command to the script.

Is there any way for the installer to create the "delete" entry automatically, if I checked off an "always overwrite" option? (wish list?) Any easier way to do this?

I guess because our old Wise script did not use MSI, we never had to deal with this before. Wise always overwrote unless we told it not to. Not a knock, I know full well the joys of trying to work around Microsoft's "I will protect you" schemes. Just can't help but think there might be a simpler way.

Thanks.... Dave

jape
Posts: 6
Joined: Thu Feb 22, 2007 2:58 am

Postby jape » Fri May 25, 2007 12:10 am

Wouldn't it be nice if IA had fakeversioning for overwriting non-versioned files.
I made feature request for that in february but didn't get any response. So I guess IA isn't going to implement that in near future. It just would have made my life a lot easier and I guess yours too.


Return to “Technical Support”

Who is online

Users browsing this forum: Baidu [Spider] and 148 guests