I'm having some fun packaging up LEGO Mindstorms NXT but managed to get there in the end and there's even a separate msi for the drivers provided on the CD which is great although i need help with editing the drivers msi. The msi installs fine when executed from the CD but when copied to the server and run from there it prompts for the CD! This is obviously coded into the msi somewhere but am unsure where to look. Any ideas? LEGO tech support are hopeless.[/align]
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
Please check launch conditions in the msi.
Answered 03/18/2008 by: akhlaque
Orange Senior Belt

Please log in to comment
0
Ok, i've checked the LaunchCondition and meet all requirements so this isn't the problem.

message it was bringing up when running the msi was The feature you are trying to use is on a CD-ROM or other removable disk that is not available. Insert the 'LEGO MINDSTORMS NXT Driver ' disk and click OK. Use source: Disk1

Anyway i've made progress. Using ORCA i found "Disk 1" in the Media table so exchanged this with my packages dir path and the msi now executes fine although i need take away the specific path name as my packages are replicated over Three servers for load balancing so need a variable name in the place of a specific drive. Currently i have the path "Q:\Applications\LEGO Mindstorms NXT Driver\" So need something like %servername% but not sure what i can use! Any ideas?
Answered 03/18/2008 by: jshand
Senior Yellow Belt

Please log in to comment
0
ORIGINAL: jshand
Ok, i've checked the LaunchCondition and meet all requirements so this isn't the problem.
message it was bringing up when running the msi was The feature you are trying to use is on a CD-ROM or other removable disk that is not available. Insert the 'LEGO MINDSTORMS NXT Driver ' disk and click OK. Use source: Disk1
Anyway i've made progress. Using ORCA i found "Disk 1" in the Media table so exchanged this with my packages dir path and the msi now executes fine although i need take away the specific path name as my packages are replicated over Three servers for load balancing so need a variable name in the place of a specific drive. Currently i have the path "Q:\Applications\LEGO Mindstorms NXT Driver\" So need something like %servername% but not sure what i can use! Any ideas?


Look at this article on MyITForums. I haven't tried it but this guy said it worked.
http://www.myitforum.com/articles/6/view.asp?id=11375

Longer term, do some reading up on how Windows Installer users source directories. You can actually configure backup directories in case the source changes.

One common strategy is to put everything on a dfs share with read access to all domain users.
Good luck!
Answered 03/18/2008 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
ORIGINAL: aogilmor
One common strategy is to put everything on a dfs share with read access to all domain users.



What he said.
Although DFS doesnt address load balancing, but why you need to load balance is another issue.
Answered 03/18/2008 by: reds4eva
Second Degree Blue Belt

Please log in to comment
0
Hi Jamie,
read this: http://msdn2.microsoft.com/en-us/library/aa369801(VS.85).aspx
Make sure the last column (Source) of the media table entry is empty.
Then search the hole MSI for SOURCEDIR entries.
Regards, Nick
Answered 03/18/2008 by: nheim
Tenth Degree Black Belt

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