Hello,

I'm having trouble repacking Sketchup. Sketchup i based on two program's Sketchup and Layout. Both are using the same license fil which is located on a server share and it finds that share by reading the first line in a text file called server.dat, which is located in the main program folder.
I am using Adminstudio sms edition and the repackag tool to record the install. When this is done and I have deployed the msi file on i client the Sketchup program works fine to start but Layout doesn't find the license file.

How can this be? and how can i solve it?

I'm all out of ideas...

/johan
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
Run Filemon or Process Monitor from Sysinternals/Microsoft to find out why it fails for the Layout program.
Doing the same for the Sketchup may reveal how it finds the server.dat file if that helps.
Answered 10/15/2007 by: AngelD
Red Belt

Please log in to comment
0
The thing is that I have tried both Filemon and Processmonitor and i cant find out why i doesnt work. When i start sketchup i knows exactly were the server.dat file is but when i start Layout, the program scans all kinds of folders but it doesnt find the server.dat file. I have also tried to copy the server.dat file to the folders that i know that layout is looking for the file but still the program cant find the file.

//johan
Answered 10/16/2007 by: jet
Orange Belt

Please log in to comment
0
The thing is that I have tried both Filemon and Processmonitor and i cant find out why i doesnt work. Then, with respect, you weren't looking properly. Which is the first folder which was scanned, the application folder? Followed by the folders in the PATH? If not, I'd suspect that the file is pointed to by a registry entry and the app is only searching elsewhere if it didn't find the file in that location. Don't forget to set filters when using ProcMon. By default, there's heaps of stuff it shows you which you're not interested in and which just get in the way of your analysis. For example, exclude the SvcHost.exe process, your a/v process(es), explorer.exe and so on.
Answered 10/16/2007 by: VBScab
Red Belt

Please log in to comment
0
First things first -- did this thing come in an MSI format?
All this stuff sounds like problems I seen with repackages.
Answered 10/16/2007 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
1
A little late, but I just started working on it. Thanks above for the Process Monitor, thats how I figured it out.

Install the legacy installer and get the product code from;
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\

Then match your custom msi product code to the legacy.

Hard coded into layout to look for the path of the server.dat file in;
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{xxx...xxx}\InstallLocation
Answered 05/15/2008 by: Reme
Yellow Belt

Please log in to comment
0
Thank you Reme for the feedback!
Answered 05/15/2008 by: AngelD
Red Belt

Please log in to comment
0
Thank you Reme for the feedback!
Glad I could finally give something back to appdeploy!
Answered 05/16/2008 by: Reme
Yellow Belt

Please log in to comment
0
Keep it comming [;)]
Answered 05/16/2008 by: AngelD
Red Belt

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