Hi all,

new to the packaging world. I have a typical problem i want a application setting file say <abc.set> to installed to all the users "Application Data" folder. This i have done using scripts. But i just have read that I can put a file as advertised one and it get installed from a location to the target when user login to his profile. Pls tell me how to do it.

Thanks

AZADI
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
This is how i do it...

Place the Shortcuts and the File you want to copy to each users profile in the same component ... Make the file <abc.set> a "KEY FILE" (Meaning if it's missing when the advertised shortcut is run, then the MSI will reinstall the file.) Switch the Properties on the shortcut to Advertised and select the component which contains it as the Target. - Make sure you do this for every shortcut.

That's it.

fyi - i wrote this from memory but this is essentially the idea. -- also check the property table for properties that may disable Advertising - NOADVERTISE, etc...

Good luck
Answered 07/14/2006 by: gmorgan618
Blue Belt

Please log in to comment
0
Hi gmorgan

just came back from a vacation and i checked it out, it worked for a file <file.set> which specified as a key file in a component.
But my problem is that when a user login first time and click on the advertised shortcut pointing to a .exe file, it install it from .msi if it is missing, at the same time I want to install/put a <file.set> in the user profile "Application Data" folder i.e. "Document and Settings/<username>/Application data/<file.set>". any ideas..........

Thanks a lot for above solution

regards
Answered 07/19/2006 by: azadi
Senior Yellow Belt

Please log in to comment
0
Did you set the installation as Per-User instead of Per-Machine?
Answered 07/20/2006 by: AngelD
Red Belt

Please log in to comment
0
Sorry just saw your re-post...and i'm actually leaving for vacation today... but here is what i can offer

I use Installshield so i'll explain it through that ... Wise should be similar... If you don't have it .. you can download a trial if you need it ... I"m not sure how to explain it through ORCA..

Under the FIles Section
Activate the "USERPROFILE" Prefined Folder
this will be equal to Document and Settings/<username>
Add the folders you need under that .. so Add "Application Data"
then add your file to that folder.

Find what component it added the <file.set> to ... if it didn't create a new component create one and move your file there...

Set it as your key file...

If you are still having problems with the Advertised shortcuts -- try using STUBPATH

It's a registry key under HKLM\SOFTWARE\MICROSOFT\ActiveSetup\Installed Components\<GUID>
add a string value named stubpath and then give it a value of msiexec /fuo <guid> /qn

This will force the msi to repair Current user settings and old or missing files ...

Hopefully you can follow this ...

just a warning though ... look at your Directory table and make sure that the Parent is not TARGETDIR ... too often the TargetDir property is set to the Sourcedir property and the predefined folders fail...

good luck... i'll check for your repost when i get back in a week...
Answered 07/20/2006 by: gmorgan618
Blue Belt

Please log in to comment
0
AngelD,

It is Per-machine intsallation
Answered 07/20/2006 by: azadi
Senior Yellow Belt

Please log in to comment
0
If it's Per-machine then the "Application Data" folder will be located under "All Users" (C:\Documents and Settings\All Users\Application Data)
Answered 07/21/2006 by: AngelD
Red Belt

Please log in to comment
0
True, but i want to install/copy the file in all the user profile's "application data"
Answered 07/21/2006 by: azadi
Senior Yellow Belt

Please log in to comment
0
Then follow mr gmorgan618's ActiveSetup advice.
Answered 07/21/2006 by: AngelD
Red Belt

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