Hello,

From a software supplier, I received a MSI. This MSI works file, but during the installation I want to copy the licensefile.
The licensefile should be in the %APPDATA% folder, but I am installing the software with the system account.
The current user won't get a licensed version of the software.

How can I insert the file in the existing MSI by forcing the repaire mode while clicking the applications executable?
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
If I understand you correctly you would add the file in the %APPDATA% folder and make it a key file, in its own component.


When a new user logs in and executes the application via the shortcut the program will do a check of all key files and realise that 1 is missing and initiate a repair, thus putting the license file into the correct location for that user.

Do all this via a Transform btw.

Paul

PS. May want to check out http://itninja.com/question/how-do-you-roll-out-new-machines?7911 as well as this points to something your trying to do afink.
Answered 08/13/2007 by: Inabus
Second Degree Green Belt

Please log in to comment
0
So the licensefile should be in the same component as the shortcut?
Answered 08/13/2007 by: MARIN
Orange Senior Belt

Please log in to comment
0
Nope, make a new component and add the file to that component which will install to the %APPDATA% folder.

Also check out the post linked above as you may need to create a HKCU dummy key and set that as the key path instead to get it to self repair correctly. Having never done it myself im just going with my gut feelings and what that post said.

Paul
Answered 08/13/2007 by: Inabus
Second Degree Green Belt

Please log in to comment
0
I would recommend getting a naming solution for placement of your dummy keys.

something along the lines of this

HKCU\Software\Packages\[ProductName]\ValidationFix_[ComponentName]

trust me it will make life easier in the future.
Answered 08/13/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
I created a new component and added a dummykey, but there are 8 features.
I guess the component had to be in the same feature as the executable?
Answered 08/14/2007 by: MARIN
Orange Senior Belt

Please log in to comment
0
Have the component in the same feature as the component holding the entrypoint (ex shortcut) or in the top feature.
Answered 08/14/2007 by: AngelD
Red Belt

Please log in to comment
0
Thanks for all the replies.
I figured it out. I forgot the make the shortcut advertised.
Answered 08/14/2007 by: MARIN
Orange Senior Belt

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