/build/static/layout/Breadcrumb_cap_w.png

Trobule when repacking Google Sketchup?

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

Answers (8)

Posted by: Reme 15 years ago
Yellow Belt
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
Posted by: AngelD 16 years ago
Red Belt
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.
Posted by: jet 16 years ago
Orange Belt
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
Posted by: anonymous_9363 16 years ago
Red Belt
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.
Posted by: aogilmor 16 years ago
9th Degree Black Belt
0
First things first -- did this thing come in an MSI format?
All this stuff sounds like problems I seen with repackages.
Posted by: AngelD 15 years ago
Red Belt
0
Thank you Reme for the feedback!
Posted by: Reme 15 years ago
Yellow Belt
0
Thank you Reme for the feedback!
Glad I could finally give something back to appdeploy!
Posted by: AngelD 15 years ago
Red Belt
0
Keep it comming [;)]
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ