+ Post New Thread
Results 1 to 11 of 11
Windows Thread, Wininstall LE issue in Technical; I have a minor niggle with Wininstall LE. The before discovery works without a hitch, the application install works great, ...
  1. #1
    stevehp's Avatar
    Join Date
    Jul 2008
    Location
    Ohio
    Posts
    102
    Thank Post
    13
    Thanked 19 Times in 16 Posts
    Rep Power
    16

    Question Wininstall LE issue

    I have a minor niggle with Wininstall LE.

    The before discovery works without a hitch, the application install works great, but the after discovery portion takes ages upon ages to complete.

    I started this morning around 9:30AM with iTunes as my application I'm modifying, and currently it's 1:02PM here and it's sitting at the converting NAI to MSI screen. It's been sitting there for going on two hours now. No disk activity on the client at all, and very little network congestion at this time. Am I missing something?

    Anybody have any ideas on how to speed this process up?

  2. #2

    Join Date
    Sep 2009
    Posts
    224
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    12
    I've had this issue with some flash based maths software before (where it stuck on the same "converting NAI to MSI screen forever and a day). Wininstall obviously didnt like the software...and thats what seems to be the case with what you're trying to do.

    Im sure the answer to this question will be "yes", but is the machine you're making the Msi on totally clean (apart from the app you're trying to package of course)

    To this day, i've never managed to get my maths software packaged....but the 50 or so other Msi's which i've made using Wininstall have all worked fine.

    Not much help...but atleast you arent on your own.

  3. #3
    stevehp's Avatar
    Join Date
    Jul 2008
    Location
    Ohio
    Posts
    102
    Thank Post
    13
    Thanked 19 Times in 16 Posts
    Rep Power
    16
    After some troubleshooting it appears Wininstall LE doesn't care for the GEAR Aspi drivers that iTunes installs for whatever purpose (DRM I'm guessing). I gave up on that after discovering that little tidbit.

    I'm trying out Repackager from Appdeploy.com . I've been much more succesful with it, but I'm still trying to make an installer that actually works.

    A dozen or more staff in my district acquired Ipod Touches for use with iTunesU and the App Store. So with that in mind I'm trying to find a workable solution to automatically move the content/library folder iTunes uses into a local folder versus it going to there My Documents/My Music folder which in turn will end up on our file servers. I can do it easy peesy with new machines that I image by way of the Default User profile. What's stopping me in my tracks are the older machines machines we have currently deployed that do not have iTunes installed.

    What I'm needing to do is have my Preferences set i.e. Parental Controls, sharing turned off, etc.. then I need delete the iTunes folder in the My Music folder, then create a folder in C: called iTunes Data for instance and then tell iTunes to use that folder(hold down shift then double click the shortcut).

    If anyone has any thoughts on how I could achieve this easily I would greatly appreciate it.
    Last edited by stevehp; 20th January 2010 at 06:31 PM.

  4. #4
    jsnetman's Avatar
    Join Date
    Oct 2007
    Posts
    887
    Thank Post
    23
    Thanked 134 Times in 126 Posts
    Rep Power
    39
    I don't think you should have a niggle with winstallle rather the bloated software from apple. If the Itunes installer extracts and runs MSI's to install the software I think winstallle will have problems as winstallle cannot repackage MSI's. Try running the Itunes installer with a /a or /? to see if you get any extraction switches. Then if you can extract the MSI's use Orca or another type tool to modify the MSI's. Sometimes you don't get any extraction options and they automatically extract to the windows temp folder or even in the user profile temp folder.
    Last edited by jsnetman; 20th January 2010 at 07:00 PM.

  5. Thanks to jsnetman from:

    stevehp (20th January 2010)

  6. #5
    stevehp's Avatar
    Join Date
    Jul 2008
    Location
    Ohio
    Posts
    102
    Thank Post
    13
    Thanked 19 Times in 16 Posts
    Rep Power
    16
    I'll give that a shot. I'm not too familiar with Orca though.

  7. #6

    garethedmondson's Avatar
    Join Date
    Oct 2008
    Location
    Gowerton, Swansea
    Posts
    2,260
    Thank Post
    965
    Thanked 324 Times in 192 Posts
    Blog Entries
    11
    Rep Power
    164
    I'm sure iTunes extracts a .msi file into the %temp% folder as it installs.

    Open your %temp% folder from the start menu and watch is refresh as iTunes installs.

    GJE

  8. #7
    stevehp's Avatar
    Join Date
    Jul 2008
    Location
    Ohio
    Posts
    102
    Thank Post
    13
    Thanked 19 Times in 16 Posts
    Rep Power
    16
    I extracted it with 7-zip. It worked a treat. I have seven different msi installers and an executable file. I took a gander at the itunes msi installer and quite frankly have no idea where to start or if I can achieve what I need to do with just an msi editor. I can edit it to install via GPO just fine, but locking it down and moving the library folder off the My Docs folder I don't think I'll get quite that far I'm afraid.

    I have staff in four different buildings so it's not like I can install it with everything at the defaults then visit each machine to modify those settings logged in as that user. That would take weeks and I don't have that kind of free time unfortunately.

  9. #8

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,039
    Thank Post
    852
    Thanked 2,666 Times in 2,263 Posts
    Blog Entries
    9
    Rep Power
    767
    What you could do once you have figured out the appropriate number of goats to slaughter to make iTunes behave and install is this.

    When it is freshly installed take a before snapshot with winstall then make the configuration changes and take an after snapshot. With some luck you should have the distilled result of the changes that you can check through in winstall to see either the easiest way to automate it or as a last resort have a second MSI to deploy after iTunes to make the changes. This may need to be deployed per user to make it work.

    This method relies on the configuration being stored somewhere sane though so its about 50/50 odds. Worth a shot though.

  10. Thanks to SYNACK from:

    stevehp (20th January 2010)

  11. #9
    stevehp's Avatar
    Join Date
    Jul 2008
    Location
    Ohio
    Posts
    102
    Thank Post
    13
    Thanked 19 Times in 16 Posts
    Rep Power
    16
    That's a good idea. Never thought of that. I'll try that out.

  12. #10
    stevehp's Avatar
    Join Date
    Jul 2008
    Location
    Ohio
    Posts
    102
    Thank Post
    13
    Thanked 19 Times in 16 Posts
    Rep Power
    16
    Success and failure.

    Thanks to SYNACK and the suggestion of making an MSI of the changes. That whole mess is sorted well sorta I still have to cobble together a script to clean up some folders as well as installing six different msi installers. Anyways that's that.

    The failure part of this is yet another reason why I despise Apple's dimwitted, half hearted attempts at making software for the Windows PC platform. Sure it works for joe user sitting at home, but for someone such as myself who wants to use it in a school enviroment, well that's another story.

    The issue is that when I make my images I make an account called "user" I install and configure everything I need then do the copy profile trick and copy the "user" account into the "Default User" account. When I did all my changes I placed the iTunes library in D:\Documents and Settings\User\iTunes Data\ that way each user has his or her own library and content folder. Well I come to find out after adding the pc to the domain and logging in as a user the library/content folder did not change in the preferences from the path above to whatever user I'm logged in as. So instead of it using an enviroment variable such as %UserProfile% it's using a hard coded path. I should have expected this from the very beginning.

    So I dig and find two different XML files. One is located in the library folder itself and changing the path in that file did no use. Then there is another one (Application Data\Apple Computer\iTunes\iTunesPref.xml)that I believe will work for me, but the issue is the xml file is encoded so the folder locations aren't in a plain old ASCII text it's in some unicode language and I'm not the least bit clued in on how to read it.

    So I'm stuck yet again. I'm doing google search after google search and have not found anything of real use yet.
    Last edited by stevehp; 22nd January 2010 at 05:39 AM.

  13. #11
    stevehp's Avatar
    Join Date
    Jul 2008
    Location
    Ohio
    Posts
    102
    Thank Post
    13
    Thanked 19 Times in 16 Posts
    Rep Power
    16
    Well Friday afternoon I figured out the itunespref.xml file had base64 encoded text. After taking the time to encode my directory which included an enviroment variable, iTunes spit it out and said it couldn't find a library so it wanted to create a new one.

    So I'm back at square one in regards to this. I'm going to give up and just make a single library directory. The majority of these machines I'll be deploying it to are teacher workstations so only one user account might be used on it all year.

    If I where a mad scripting genius or knew someone of that caliber I could make it work. What I would need is a script that would do the following:

    1. Ascertain the AD user account that is logging into the machine.
    2. Determine if the user has logged into this machine before i.e. check for a local cached profile with say a text file in it stating they've logged in here before so don't run the script.
    3. The user account name would be pasted into a base64 encoder and the encoded text would be spat out and pasted into the necessary locations in the itunespref.xml file.
    4. The itunespref.xml would be placed in the App Data folder in that local cached profile.

    That's a theoritical idea in my mind anyways. I might just be wasting my time overthinking about this though.

SHARE:
+ Post New Thread

Similar Threads

  1. using winINSTALL LE
    By Hedghog in forum How do you do....it?
    Replies: 2
    Last Post: 9th December 2009, 01:29 PM
  2. WinInstall LE
    By matt40k in forum Windows
    Replies: 2
    Last Post: 29th August 2008, 05:02 PM
  3. WinInstall LE
    By k-strider in forum Windows
    Replies: 2
    Last Post: 29th May 2007, 11:53 AM
  4. WinInstall LE - Where to Buy
    By ticker in forum Educational Software
    Replies: 12
    Last Post: 17th August 2006, 12:03 AM
  5. WinInstall LE
    By Sean in forum Windows
    Replies: 2
    Last Post: 18th November 2005, 10:31 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •